summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAdam Bird <Archez@users.noreply.github.com>2023-06-17 13:27:59 -0400
committerGitHub <noreply@github.com>2023-06-17 13:27:59 -0400
commitd4ff05f51d909bf0908d0f6e74bb7d21757d5a7f (patch)
tree82754d7ca2c26975af2a9ac4fda1c2d6eef57766 /scripts
parent6fdfcd2a611a0ce79fbe01fcebfcad56423688e1 (diff)
update mac and linux launch scripts to make mods dir (#3013)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/linux/appimage/soh.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/linux/appimage/soh.sh b/scripts/linux/appimage/soh.sh
index 7abf3c8b7..1afcbb9b7 100644
--- a/scripts/linux/appimage/soh.sh
+++ b/scripts/linux/appimage/soh.sh
@@ -13,6 +13,11 @@ if [ -z ${SHIP_BIN_DIR+x} ]; then
export SHIP_BIN_DIR="$HERE/usr/bin"
fi
+if [[ ! -e "$SHIP_HOME"/mods ]]; then
+ mkdir -p "$SHIP_HOME"/mods
+ touch "$SHIP_HOME"/mods/custom_otr_files_go_here.txt
+fi
+
while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do
for romfile in "$SHIP_HOME"/*.*64
do