Inline `IsMacSignMode` function.
MODIFY
WalletWasabi.Packager/MacSignTools.cs
WalletWasabi.Packager/MacSignTools.cs
@@ -291,11 +291,6 @@ namespace WalletWasabi.Packager
Console.WriteLine("Phase: finish.");
}
- public static bool IsMacSignMode()
- {
- return RuntimeInformation.IsOSPlatform(OSPlatform.OSX); // For now this is enough. If you run it on macOS you want to sign.
- }
-
private static void Notarize(string appleId, string password, string filePath, string bundleIdentifier)
{
string uploadId = null;

MODIFY
WalletWasabi.Packager/Program.cs
WalletWasabi.Packager/Program.cs
@@ -58,9 +58,13 @@ namespace WalletWasabi.Packager
public static bool OnlyBinaries;
public static bool OnlyCreateDigests;
+ /// <summary>
+ /// Main entry point.
+ /// </summary>
private static void Main(string[] args)
{
- if (MacSignTools.IsMacSignMode())
+ // For now this is enough. If you run it on macOS you want to sign.
+ if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
MacSignTools.Sign();
return;

Inline `IsMacSignMode` function.