Mercurial > minori
annotate scripts/osx/deploy_build.sh @ 258:862d0d8619f6
*: HUUUGE changes
animia has been renamed to animone, so instead of thinking of a
health condition, you think of a beautiful flower :)
I've also edited some of the code for animone, but I have no idea
if it even works or not because I don't have a mac or windows
machine lying around. whoops!
... anyway, all of the changes divergent from Anisthesia are now
licensed under BSD. it's possible that I could even rewrite most
of the code to where I don't even have to keep the MIT license,
but that's thinking too far into the future
I've been slacking off on implementing the anime seasons page,
mostly out of laziness. I think I'd have to create another db file
specifically for the seasons
anyway, this code is being pushed *primarily* because the hard drive
it's on is failing! yay :)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 01 Apr 2024 02:43:44 -0400 |
parents | 3a4aa9b4814c |
children | f31305b9f60a |
rev | line source |
---|---|
244
3a4aa9b4814c
scripts: convert to use posix shell
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
1 #!/bin/sh |
237 | 2 # |
3 # deploy_build.sh: | |
4 # run this in your build dir to get a usable app bundle | |
5 | |
6 SCRIPT_DIR=$(dirname -- "$0") | |
7 BUNDLE_NAME="Minori" | |
8 | |
258 | 9 cp -r "$SCRIPT_DIR/../../rc/sys/osx/$BUNDLE_NAME.app" . |
244
3a4aa9b4814c
scripts: convert to use posix shell
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
10 |
237 | 11 mkdir -p "$BUNDLE_NAME.app/Contents/MacOS" |
12 cp ".libs/minori" "$BUNDLE_NAME.app/Contents/MacOS/minori" | |
244
3a4aa9b4814c
scripts: convert to use posix shell
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
13 |
237 | 14 mkdir -p "$BUNDLE_NAME.app/Contents/Frameworks" |
15 for i in animia pugixml anitomy; do | |
16 cp "dep/$i/.libs/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/Frameworks" | |
17 install_name_tool -change "/usr/local/lib/lib$i.0.dylib" "@executable_path/../Frameworks/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/MacOS/minori" | |
18 done | |
244
3a4aa9b4814c
scripts: convert to use posix shell
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
19 |
237 | 20 macdeployqt "$BUNDLE_NAME.app" |