file writealltext the wallet files
create .msi rather than zip
MODIFY
WalletWasabi.Packager/Program.cs
WalletWasabi.Packager/Program.cs
@@ -200,16 +200,9 @@ namespace WalletWasabi.Packager
{
throw new Exception(".msi doesn't exist. Expected path: WasabiInstaller.msi.");
}
- // Since GitHub doesn't let you upload .msi, we zip it.
var msiFileName = Path.GetFileName(msiPath);
- //var newMsiPath = Path.Combine(binDistDirectory, msiFileName);
- //File.Move(msiPath, newMsiPath);
- string zipFilePath = Path.Combine(binDistDirectory, "WasabiInstaller.zip");
- using (var fs = new FileStream(zipFilePath, FileMode.Create))
- using (var arch = new ZipArchive(fs, ZipArchiveMode.Create))
- {
- arch.CreateEntryFromFile(msiPath, msiFileName);
- }
+ var newMsiPath = Path.Combine(binDistDirectory, msiFileName);
+ File.Move(msiPath, newMsiPath);
}
else if (target.StartsWith("linux", StringComparison.OrdinalIgnoreCase))
{

MODIFY
WalletWasabi/KeyManagement/KeyManager.cs
WalletWasabi/KeyManagement/KeyManager.cs
@@ -128,7 +128,7 @@ namespace WalletWasabi.KeyManagement
lock (ToFileLock)
{
string jsonString = JsonConvert.SerializeObject(this, Formatting.Indented);
- IoHelpers.SafeWriteAllText(filePath, jsonString, Encoding.UTF8);
+ File.WriteAllText(filePath, jsonString, Encoding.UTF8);
}
}

- file writealltext the wallet files
- create .msi rather than zip