mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 07:48:52 -05:00
Fix filebot.sh script for OpenJDK 11
This commit is contained in:
parent
17b65b2478
commit
ae9c7bc00b
@ -15,10 +15,11 @@ done
|
||||
# get canonical path
|
||||
BIN=`dirname "$PRG"`
|
||||
FILEBOT_HOME=`cd "$BIN/.." && pwd`
|
||||
JAVA_HOME="$FILEBOT_HOME/PlugIns/jdk-@{jre.version}.jdk/Contents/Home"
|
||||
|
||||
# select application data folder
|
||||
APP_DATA="$HOME/.filebot"
|
||||
LIBRARY_PATH="$FILEBOT_HOME/MacOS"
|
||||
|
||||
# start filebot
|
||||
/usr/libexec/java_home --failfast --version "@{jvm.version}+" --exec java -Dapplication.deployment=app -Dapple.awt.UIElement=true -Dnet.filebot.AcoustID.fpcalc="$LIBRARY_PATH/fpcalc" @{java.application.options} @{linux.application.options} $JAVA_OPTS $FILEBOT_OPTS -jar "$FILEBOT_HOME/Java/filebot.jar" "$@"
|
||||
"$JAVA_HOME/bin/java" -Dapplication.deployment=app -Dapple.awt.UIElement=true -Dnet.filebot.AcoustID.fpcalc="$LIBRARY_PATH/fpcalc" @{java.application.options} @{linux.application.options} $JAVA_OPTS $FILEBOT_OPTS --module-path "$JAVA_HOME/ext/modules/lib" --add-modules ALL-MODULE-PATH -jar "$FILEBOT_HOME/Java/filebot.jar" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user