1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00
filebot/installer/snap/base/bin/filebot.sh

12 lines
527 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
APP_DATA="$SNAP_USER_DATA/data"
2018-06-21 03:09:59 -04:00
LIBRARY_PATH="$FILEBOT_HOME/lib"
2018-06-20 13:45:26 -04:00
"$JAVA_HOME/bin/java" -Dapplication.deployment=snap -Dapplication.update=skip -Dnet.filebot.AcoustID.fpcalc="$SNAP/usr/bin/fpcalc" @{java.application.options} @{linux.application.options} @{linux.desktop.application.options} @{linux.portable.application.options} $JAVA_OPTS $FILEBOT_OPTS -jar "$FILEBOT_HOME/jar/filebot.jar" "$@"