Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Typo in postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Jul 5, 2022
1 parent a75897e commit 24c5748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Squirrel.CommandLine/OSX/HelperExe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24c5748

Please sign in to comment.