aboutsummaryrefslogtreecommitdiff
path: root/bin/decompile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/decompile')
-rwxr-xr-xbin/decompile6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/decompile b/bin/decompile
index b879ccd..de43598 100755
--- a/bin/decompile
+++ b/bin/decompile
@@ -2,9 +2,11 @@
main() {
# Replace this with your local path to worlds.jar
- local WORLDS_JAR_PATH="${HOME}/.local/share/bottles/bottles/WorldsPlayer/drive_c/Program Files (x86)/Worlds Inc/WorldsPlayer - BowieFull/lib"
+ local WORLDSPLAYER_JAR=${WORLDSPLAYER_JAR:-"${HOME}/.local/share/bottles/bottles/WorldsPlayer/drive_c/Program Files (x86)/Worlds Inc/WorldsPlayer - BowieFull/lib/worlds.jar"}
- vineflower -ega=true "${WORLDS_JAR_PATH}/worlds.jar" source
+ echo "Using WORLDSPLAYER_JAR=${WORLDSPLAYER_JAR}"
+
+ vineflower -ega=true "${WORLDSPLAYER_JAR}" source
}
main