Skip to content

Commit

Permalink
Remove shell script that changes directory and then executes barrier …
Browse files Browse the repository at this point in the history
…on macOS, and execute barrier directly instead.
  • Loading branch information
ctsrc committed Nov 8, 2019
1 parent 07a1c31 commit 983b84b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion dist/macos/bundle/Barrier.app/Contents/Info.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 0 additions & 5 deletions dist/macos/bundle/build_installer.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 983b84b

Please sign in to comment.