aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/macos_post_build.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/macos_post_build.sh b/scripts/macos_post_build.sh
new file mode 100644
index 00000000..875078bd
--- /dev/null
+++ b/scripts/macos_post_build.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+DST_FOLDER="./bin/Attorney_Online.app/Contents/Frameworks"
+
+cd ..
+
+mkdir $DST_FOLDER
+
+cp libbass.dylib $DST_FOLDER
+cp libbassopus.dylib $DST_FOLDER
+
+install_name_tool -id @executable_path/../Frameworks/libbass.dylib $DST_FOLDER/libbass.dylib
+
+install_name_tool -change @loader_path/libbass.dylib @executable_path/../Frameworks/libbass.dylib ./bin/Attorney_Online.app/Contents/MacOS/Attorney_Online