mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 23:55:06 -04:00
20 lines
464 B
Bash
Executable File
20 lines
464 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SNAME="$(dirname $0)"
|
|
export SHIP_HOME="$HOME/Library/Application Support/com.shipofharkinian.soh"
|
|
export SNAME
|
|
export RESPATH="${SNAME%/MacOS*}/Resources"
|
|
export LIBPATH="${SNAME%/MacOS*}/Frameworks"
|
|
export DYLD_FALLBACK_LIBRARY_PATH="$LIBPATH"
|
|
|
|
if [ ! -e "$SHIP_HOME" ]; then mkdir "$SHIP_HOME"; fi
|
|
|
|
if [ ! -e "$SHIP_HOME"/mods ]; then
|
|
mkdir -p "$SHIP_HOME"/mods
|
|
touch "$SHIP_HOME"/mods/custom_otr_files_go_here.txt
|
|
fi
|
|
|
|
"$RESPATH"/soh-macos
|
|
|
|
exit
|