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

12 lines
556 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"
2018-11-25 14:46:13 -05:00
export JAVA_HOME="$SNAP/usr/lib/jvm/java-8-openjdk-amd64"
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" "$@"