Skip to content

Commit

Permalink
Merge pull request #536 from jakwings/dmg
Browse files Browse the repository at this point in the history
Give more installation instruction about the mac app
  • Loading branch information
J.W authored Mar 2, 2019
2 parents 8bba181 + 05df2d2 commit 71bfeb7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ci/osx/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,15 @@ cp -R "${BUILD_DIR}"/docs/* "${GAME_DIR}"
cp -R "${BUILD_DIR}"/ivan "${DATA_DIR}/Resources/data"
cp -R "${SDL2DIR}"/*.framework "${DATA_DIR}/Frameworks"
ln -s /Applications "${GAME_DIR}/Applications"
echo 'Drag IVAN.app into the Applications folder.' > "${GAME_DIR}/INSTALL.txt"
cat > "${GAME_DIR}/INSTALL.txt" << 'EOT'
To install, simply drag IVAN.app into the Applications folder.
Then it will also appear in Launchpad.
You can also keep the app here and play the game right now. :)
Unlike the dev version, the user data generated by this game will be stored in
"/Users/USERNAME/Library/Application Support/IVAN".
EOT

BIN="${DATA_DIR}/MacOS/ivan"
install_name_tool -add_rpath @loader_path/../Frameworks "${BIN}"
Expand Down

0 comments on commit 71bfeb7

Please sign in to comment.