Skip to content

Commit

Permalink
Improve macOS install script
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Jul 7, 2024
1 parent f37eac3 commit f39f26c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scripts/install-mac.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/usr/bin/env bash

set -e

ROOT=$(git rev-parse --show-toplevel)
cd $ROOT/dist/macos

VERSION=$($ROOT/scripts/get-version.sh version)

ZIP_FILE=gridmonger-v$VERSION-macos.zip
unzip -q $ZIP_FILE

cd dist/macos && \
unzip -q $ZIP_FILE && \
rm -rf /Applications/Gridmonger.app && \
mv Gridmonger.app /Applications
rm -rf /Applications/Gridmonger.app
mv Gridmonger.app /Applications

0 comments on commit f39f26c

Please sign in to comment.