mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-11 20:05:04 -05:00
11 lines
514 B
Bash
11 lines
514 B
Bash
|
#!/bin/sh
|
||
|
FILEBOT_HOME="/Application/FileBot.app/Contents/Home"
|
||
|
JAVA_HOME="$FILEBOT_HOME/PlugIns/jre-@{java.version}.jre/Contents/Home"
|
||
|
|
||
|
# select application data folder
|
||
|
APP_DATA="$HOME/.filebot"
|
||
|
LIBRARY_PATH="$FILEBOT_HOME/MacOS"
|
||
|
|
||
|
# start filebot
|
||
|
"$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 -classpath "$FILEBOT_HOME/Java/*" @{main.class} "$@"
|