2018-06-23 09:34:55 -04:00
|
|
|
#!/bin/sh
|
2018-06-23 15:48:08 -04:00
|
|
|
FILEBOT_HOME="/Applications/FileBot.app/Contents"
|
2019-05-31 11:18:19 -04:00
|
|
|
JAVA_HOME="$FILEBOT_HOME/PlugIns/openjdk.jre/Contents/Home"
|
2018-06-23 09:34:55 -04:00
|
|
|
|
|
|
|
# select application data folder
|
|
|
|
APP_DATA="$HOME/.filebot"
|
|
|
|
LIBRARY_PATH="$FILEBOT_HOME/MacOS"
|
|
|
|
|
|
|
|
# start filebot
|
2018-11-20 05:02:58 -05:00
|
|
|
"$JAVA_HOME/bin/java" -Dapplication.deployment=pkg -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" "$@"
|