diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-07-28 21:04:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 21:04:08 -0400 |
commit | 227a1e72e84c23dc95cfe3dc28f77076d0d9c0b2 (patch) | |
tree | a66adedc3633ce49a6cdcadd45524b2645ea7f80 /src/SMAPI.Installer | |
parent | 3da5917eed5fc9db3017e2bf0d0f9bf92c295e6a (diff) | |
parent | a50a730886e2649472011e5c0eca5113b3774555 (diff) | |
download | SMAPI-227a1e72e84c23dc95cfe3dc28f77076d0d9c0b2.tar.gz SMAPI-227a1e72e84c23dc95cfe3dc28f77076d0d9c0b2.tar.bz2 SMAPI-227a1e72e84c23dc95cfe3dc28f77076d0d9c0b2.zip |
Merge pull request #862 from ishanjalan/default-shell-macOS
Tweak macOS launcher to use the default terminal
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r-- | src/SMAPI.Installer/assets/unix-launcher.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/SMAPI.Installer/assets/unix-launcher.sh b/src/SMAPI.Installer/assets/unix-launcher.sh index ae9624e7..b9d468a0 100644 --- a/src/SMAPI.Installer/assets/unix-launcher.sh +++ b/src/SMAPI.Installer/assets/unix-launcher.sh @@ -54,12 +54,12 @@ if [ "$(uname)" == "Darwin" ]; then # https://stackoverflow.com/a/29511052/262123 if [ "$USE_CURRENT_SHELL" == "false" ]; then echo "Reopening in the Terminal app..." - echo '#!/bin/sh' > /tmp/open-smapi-terminal.sh - echo "\"$0\" $@ --use-current-shell" >> /tmp/open-smapi-terminal.sh - chmod +x /tmp/open-smapi-terminal.sh - cat /tmp/open-smapi-terminal.sh - open -W -a Terminal /tmp/open-smapi-terminal.sh - rm /tmp/open-smapi-terminal.sh + echo '#!/bin/sh' > /tmp/open-smapi-terminal.command + echo "\"$0\" $@ --use-current-shell" >> /tmp/open-smapi-terminal.command + chmod +x /tmp/open-smapi-terminal.command + cat /tmp/open-smapi-terminal.command + open -W /tmp/open-smapi-terminal.command + rm /tmp/open-smapi-terminal.command exit 0 fi fi |