Remove shell script that changes directory and then executes barrier on macOS, and execute barrier directly instead.
This commit is contained in:
parent
07a1c31fab
commit
983b84be35
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue