1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-11 03:45:06 -05:00
filebot/installer/snap/base/bin/filebot.sh

12 lines
671 B
Bash
Raw Normal View History

2018-06-20 13:45:26 -04:00
#!/bin/sh
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export JAVA_HOME="$SNAP/jre"
2018-06-21 03:09:59 -04:00
export FILEBOT_HOME="$SNAP/filebot"
2018-06-20 13:45:26 -04:00
2018-06-21 03:09:59 -04:00
APP_DATA="$SNAP_USER_DATA/data"
LIBRARY_PATH="$FILEBOT_HOME/lib"
2018-06-20 13:45:26 -04:00
2018-06-21 03:09:59 -04:00
"$JAVA_HOME/bin/java" -Dapplication.deployment=snap -Dapplication.update=skip -Dnet.filebot.AcoustID.fpcalc="$SNAP/usr/bin/fpcalc" -Duser.home="$SNAP_USER_DATA" -Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory -Dnet.filebot.util.prefs.file="$APP_DATA/prefs.properties" @{java.application.options} @{linux.application.options} @{linux.desktop.application.options} $JAVA_OPTS $FILEBOT_OPTS -classpath "$FILEBOT_HOME/jar/*" @{main.class} "$@"