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-07-17 09:45:41 -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
|
|
|
|
2018-07-17 09:45:41 -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" "$@"
|