Remove shell script that changes directory and then executes bar… (#487)

Remove shell script that changes directory and then executes barrier on macOS, and execute barrier directly instead
This commit is contained in:
Adrian Lucrèce Céleste 2019-11-09 21:32:59 -05:00 committed by GitHub
commit 3e4de1d9c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<key>CFBundleDisplayName</key>
<string>Barrier</string>
<key>CFBundleExecutable</key>
<string>barrier.sh</string>
<string>barrier</string>
<key>CFBundleIconFile</key>
<string>Barrier.icns</string>
<key>CFBundleIdentifier</key>

View File

@ -57,11 +57,6 @@ $B_REREF_SCRIPT barrier || exit 1
# libraries in its metadata
$B_REREF_SCRIPT platforms/libqcocoa.dylib ../ || exit 1
# create a startup script that will change to the binary directory
# before starting barrier
printf "%s\n" "#!/bin/sh" "cd \$(dirname \$0)" "exec ./barrier" > barrier.sh
chmod +x barrier.sh
echo "Barrier.app created successfully"
# sanity check so we don't distribute a dmg with debug symbols