1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-14 05:15:03 -05:00
filebot/installer/aur/filebot.sh

15 lines
544 B
Bash
Raw Normal View History

2018-11-25 16:05:12 -05:00
#!/bin/sh
FILEBOT_HOME="/usr/share/filebot"
2018-12-18 04:27:34 -05:00
JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
2018-11-25 16:05:12 -05:00
if [ -z "$HOME" ]; then
echo '$HOME must be set'
exit 1
fi
# select application data folder
2018-12-18 04:27:34 -05:00
APP_DATA="$HOME/.config/filebot"
LIBRARY_PATH="$FILEBOT_HOME/lib/$(uname -m)"
2018-11-25 16:05:12 -05:00
2019-02-28 15:23:27 -05:00
$JAVA_HOME/bin/java -Dapplication.deployment=aur -Dapplication.update=skip -Dnet.filebot.archive.extractor=ShellExecutables @{java.application.options} @{linux.application.options} @{linux.desktop.application.options} $JAVA_OPTS $FILEBOT_OPTS -jar "$FILEBOT_HOME/jar/filebot.jar" "$@"