Remove shell script that changes directory and then executes barrier on macOS, and execute barrier directly instead.

This commit is contained in:
Erik Nordstrøm 2019-11-08 02:00:15 +01:00
parent 07a1c31fab
commit 983b84be35
2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -57,11 +57,6 @@ $B_REREF_SCRIPT barrier || exit 1
# libraries in its metadata # libraries in its metadata
$B_REREF_SCRIPT platforms/libqcocoa.dylib ../ || exit 1 $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" echo "Barrier.app created successfully"
# sanity check so we don't distribute a dmg with debug symbols # sanity check so we don't distribute a dmg with debug symbols