diff --git a/src/Squirrel.CommandLine/OSX/Commands.cs b/src/Squirrel.CommandLine/OSX/Commands.cs index e001ccd51..fe582d95d 100644 --- a/src/Squirrel.CommandLine/OSX/Commands.cs +++ b/src/Squirrel.CommandLine/OSX/Commands.cs @@ -131,9 +131,11 @@ private static void Pack(PackOptions options) HelperExe.Notarize(zipPath, options.notaryProfile); } else if (SquirrelRuntimeInfo.IsOSX && !String.IsNullOrEmpty(options.signAppIdentity)) { HelperExe.CodeSign(options.signAppIdentity, options.signEntitlements, appBundlePath); - Log.Warn("Package was signed but will not be notarized. Must supply the --notaryProfile option."); + Log.Warn("Package was signed but will not be notarized or verified. Must supply the --notaryProfile option."); + } else if (SquirrelRuntimeInfo.IsOSX) { + Log.Warn("Package will not be signed or notarized. Requires the --signAppIdentity and --notaryProfile options."); } else { - Log.Warn("Package will not be signed or notarized. Only supported on OSX with the --signAppIdentity and --notaryProfile options."); + Log.Warn("Package will not be signed or notarized. Only supported on OSX."); } // create a portable zip package from signed/notarized bundle diff --git a/src/Squirrel.CommandLine/OSX/HelperExe.cs b/src/Squirrel.CommandLine/OSX/HelperExe.cs index e413b4616..cc0c03e3c 100644 --- a/src/Squirrel.CommandLine/OSX/HelperExe.cs +++ b/src/Squirrel.CommandLine/OSX/HelperExe.cs @@ -44,6 +44,11 @@ public static void CodeSign(string identity, string entitlements, string filePat Console.WriteLine(InvokeAndThrowIfNonZero("codesign", args, null)); + Log.Info("codesign completed successfully"); + } + + public static void SpctlAssess(string filePath) + { var args2 = new List { "--assess", "-vvvv", @@ -51,8 +56,6 @@ public static void CodeSign(string identity, string entitlements, string filePat }; Console.WriteLine(InvokeAndThrowIfNonZero("spctl", args2, null)); - - Log.Info("codesign completed successfully"); } [SupportedOSPlatform("osx")]