2018-11-25 16:05:12 -05:00
|
|
|
#!/bin/sh
|
|
|
|
FILEBOT_HOME="/usr/share/filebot"
|
|
|
|
|
|
|
|
if [ -z "$HOME" ]; then
|
|
|
|
echo '$HOME must be set'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# select application data folder
|
|
|
|
APP_DATA="$HOME/.filebot"
|
2018-11-27 05:06:41 -05:00
|
|
|
LIBRARY_PATH="$FILEBOT_HOME/lib/$(uname -m)"
|
|
|
|
MODULE_PATH="/usr/lib/openjfx/lib"
|
2018-11-25 16:05:12 -05:00
|
|
|
|
|
|
|
java -Dapplication.deployment=aur --module-path "$MODULE_PATH" --add-modules ALL-MODULE-PATH -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" "$@"
|