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-22 05:43:41 -05:00
|
|
|
LIBRARY_PATH="$FILEBOT_HOME/lib/$(uname -m)"
|
2016-03-06 10:32:30 -05:00
|
|
|
|
2018-11-20 06:13:31 -05:00
|
|
|
java -Dapplication.deployment=deb -Dnet.filebot.Archive.extractor=SevenZipExecutable @{java.application.options} @{linux.application.options} @{linux.desktop.application.options} $JAVA_OPTS $FILEBOT_OPTS -jar "$FILEBOT_HOME/jar/filebot.jar" "$@"
|