From 24c5748ae3c17930122aaacbf8233b42727aa9af Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Tue, 5 Jul 2022 23:29:56 +0100 Subject: [PATCH] Typo in postinstall script --- src/Squirrel.CommandLine/OSX/HelperExe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Squirrel.CommandLine/OSX/HelperExe.cs b/src/Squirrel.CommandLine/OSX/HelperExe.cs index 4ef948dbd..a8ee6e3b9 100644 --- a/src/Squirrel.CommandLine/OSX/HelperExe.cs +++ b/src/Squirrel.CommandLine/OSX/HelperExe.cs @@ -94,7 +94,7 @@ public static void CreateInstallerPkg(string appBundlePath, string pkgOutputPath // create postinstall scripts to open app after install // https://stackoverflow.com/questions/35619036/open-app-after-installation-from-pkg-file-in-mac var postinstall = Path.Combine(tmpScripts, "postinstall"); - File.WriteAllText(postinstall, $"#!/bin/sh\nopen \"$2/{bundleName}/\"\nexit0"); + File.WriteAllText(postinstall, $"#!/bin/sh\nopen \"$2/{bundleName}/\"\nexit 0"); PlatformUtil.ChmodFileAsExecutable(postinstall); // create product package that installs to home dir