From 1883d4c269132fef044509bd626633c8261e8345 Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 18 Apr 2020 14:33:30 +0200 Subject: zip it and upload the correct file --- scripts/macos_post_build.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/macos_post_build.sh b/scripts/macos_post_build.sh index 25400bf..d6eaddc 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 ../bin/Attorney_Online_mac_x86_64.zip ../bin/ \ No newline at end of file -- cgit From f4f441c24c69a28de092d2684e7c6cdff6a3509c Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 18 Apr 2020 15:07:14 +0200 Subject: this and post_build do the same thing --- scripts/release_macos.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 scripts/release_macos.sh (limited to 'scripts') diff --git a/scripts/release_macos.sh b/scripts/release_macos.sh deleted file mode 100755 index 50acb40..0000000 --- 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 -- cgit From 607e70aeba18fba150bee674f7c0671d3c78aacf Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 18 Apr 2020 15:08:33 +0200 Subject: compress it more --- scripts/macos_post_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/macos_post_build.sh b/scripts/macos_post_build.sh index d6eaddc..df1475c 100755 --- a/scripts/macos_post_build.sh +++ b/scripts/macos_post_build.sh @@ -21,4 +21,4 @@ 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 ../bin/Attorney_Online_mac_x86_64.zip ../bin/ \ No newline at end of file +zip -r -9 ../bin/Attorney_Online_mac_x86_64.zip ../bin/ \ No newline at end of file -- cgit