diff options
| author | stonedDiscord <stoned@derpymail.org> | 2020-04-19 15:34:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-19 15:34:53 +0200 |
| commit | c0f579864bc00cf20c6cccbaa389a100858d20bc (patch) | |
| tree | 5047e9dab89f54107d7b2c9efb985b7a2afde05d /scripts | |
| parent | bba8f4f1c079055af0398c9b820fbfae44b653a6 (diff) | |
| parent | 8bc7915f17396f93c1fd5146e1c3ff7a70145471 (diff) | |
Merge pull request #144 from AttorneyOnline/deploy_mac
Deploy mac
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/macos_post_build.sh | 2 | ||||
| -rwxr-xr-x | scripts/release_macos.sh | 22 |
2 files changed, 2 insertions, 22 deletions
diff --git a/scripts/macos_post_build.sh b/scripts/macos_post_build.sh index 25400bf5..df1475c4 100755 --- a/scripts/macos_post_build.sh +++ b/scripts/macos_post_build.sh @@ -20,3 +20,5 @@ cp ../lib/* ../bin/Attorney_Online.app/Contents/Frameworks # libbass has a funny path for some reason, just use rpath install_name_tool -change @loader_path/libbass.dylib @rpath/libbass.dylib ../bin/Attorney_Online.app/Contents/MacOS/Attorney_Online + +zip -r -9 ../bin/Attorney_Online_mac_x86_64.zip ../bin/
\ No newline at end of file diff --git a/scripts/release_macos.sh b/scripts/release_macos.sh deleted file mode 100755 index 50acb408..00000000 --- a/scripts/release_macos.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# This script prepares the compiled bundle for shipping as a standalone release -# Assumes the Qt bin folder is in PATH -# Should be used on a "Release" build from QT creator -# Note that this DOES NOT add the base/ folder - -# Exit on errors and unset variables -set -eu - -ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/" - -cd ${ROOT_DIR} - -# This thing basically does all the work -macdeployqt ../bin/Attorney_Online.app - -# Need to add the dependencies -cp ../lib/* ../bin/Attorney_Online.app/Contents/Frameworks - -# libbass has a funny path for some reason, just use rpath -install_name_tool -change @loader_path/libbass.dylib @rpath/libbass.dylib ../bin/Attorney_Online.app/Contents/MacOS/Attorney_Online |
