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

12 lines
578 B
Bash
Executable File

#!/bin/sh
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export JAVA_HOME="$SNAP/usr/lib/jvm/java-@{jvm.version}-openjdk-amd64/bin/java"
export FILEBOT_HOME="$SNAP/filebot"
APP_DATA="$SNAP_USER_DATA/data"
LIBRARY_PATH="$FILEBOT_HOME/lib"
"$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" "$@"