2015-03-28 14:37:38 -04:00
|
|
|
#!/bin/sh
|
2018-06-21 03:09:59 -04:00
|
|
|
FILEBOT_HOME="/usr/share/filebot"
|
2015-03-28 14:37:38 -04:00
|
|
|
|
2016-03-06 10:32:30 -05:00
|
|
|
if [ -z "$HOME" ]; then
|
|
|
|
echo '$HOME must be set'
|
2015-10-11 10:04:13 -04:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2016-03-08 11:21:13 -05:00
|
|
|
# select application data folder
|
2016-03-06 10:32:30 -05:00
|
|
|
APP_DATA="$HOME/.filebot"
|
2018-11-28 11:15:37 -05:00
|
|
|
LIBRARY_PATH="$FILEBOT_HOME/lib"
|
|
|
|
MODULE_PATH="$FILEBOT_HOME/mod"
|
2016-03-06 10:32:30 -05:00
|
|
|
|
2018-11-29 10:23:56 -05:00
|
|
|
java -Dapplication.deployment=deb --module-path "$MODULE_PATH" --add-modules ALL-MODULE-PATH -Dnet.filebot.AcoustID.fpcalc="$LIBRARY_PATH/fpcalc" @{java.application.options} @{linux.application.options} @{linux.desktop.application.options} $JAVA_OPTS $FILEBOT_OPTS -jar "$FILEBOT_HOME/jar/filebot.jar" "$@"
|