1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-09-20 02:09:25 +03:00

quick and dirty fix for issue 689

This commit is contained in:
Ilya Shipitsin
2018-11-28 23:19:56 +05:00
parent bf0d5c551e
commit f985a50f31
3 changed files with 152 additions and 0 deletions

View File

@ -535,6 +535,8 @@ namespace BuildUtil
IO.ReadFile(Path.Combine(src_bindir, @"hamcore\warning_ja.txt")), true);
zip.AddFileSimple("ReadMeFirst_Important_Notices_en.txt", DateTime.Now, FileAttributes.Normal,
IO.ReadFile(Path.Combine(src_bindir, @"hamcore\warning_en.txt")), true);
zip.AddFileSimple("ReadMeFirst_Important_Notices_ru.txt", DateTime.Now, FileAttributes.Normal,
IO.ReadFile(Path.Combine(src_bindir, @"hamcore\warning_ru.txt")), true);
zip.AddFileSimple("ReadMeFirst_Important_Notices_cn.txt", DateTime.Now, FileAttributes.Normal,
IO.ReadFile(Path.Combine(src_bindir, @"hamcore\warning_cn.txt")), true);
zip.Finish();

View File

@ -308,6 +308,17 @@ namespace BuildUtil
tar.AddFileSimple(targetName + @"\" + "ReadMeFirst_Important_Notices_en.txt", destData, 0, destData.Length, DateTime.Now);
}
if (true)
{
string srcData = File.ReadAllText(Path.Combine(Paths.BinDirName, @"hamcore\warning_ru.txt"),
enc);
byte[] destData = enc.GetBytes(srcData);
tar.AddFileSimple(targetName + @"\" + "ReadMeFirst_Important_Notices_ru.txt", destData, 0, destData.Length, DateTime.Now);
}
if (true)
{
string srcData = File.ReadAllText(Path.Combine(Paths.BinDirName, @"hamcore\warning_cn.txt"),