add pgp signing
MODIFY
HiddenWallet.Packager/Program.cs
HiddenWallet.Packager/Program.cs
@@ -128,6 +128,22 @@ namespace HiddenWallet.Packager
await DeleteDirectoryRecursivelyAsync(Path.Combine(distDir, "win-unpacked"));
await DeleteDirectoryRecursivelyAsync(Path.Combine(distDir, "linux-unpacked"));
+ Console.WriteLine("Signing archieves...");
+ var distFiles = Directory.GetFiles(distDir);
+
+ foreach (var distFile in distFiles)
+ {
+ var psiSignProcess = new ProcessStartInfo
+ {
+ FileName = "cmd",
+ RedirectStandardInput = true,
+ WorkingDirectory = distDir
+ };
+ var signProcess = Process.Start(psiSignProcess);
+ signProcess.StandardInput.WriteLine($"gpg --armor --detach-sign {distFile} && exit");
+ signProcess.WaitForExit();
+ }
+
Console.WriteLine("Finished. Press key to exit...");
Console.ReadKey();
}

add pgp signing