2015-03-28 14:37:38 -04:00
|
|
|
#!/bin/sh
|
2018-04-03 02:31:46 -04:00
|
|
|
APP_ROOT="/usr/share/filebot"
|
2015-03-28 14:37:38 -04:00
|
|
|
|
2016-03-06 10:32:30 -05:00
|
|
|
if [ -z "$HOME" ]; then
|
|
|
|
echo '$HOME must be set'
|
2015-10-11 10:04:13 -04:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2016-03-08 11:21:13 -05:00
|
|
|
# select application data folder
|
2016-03-06 10:32:30 -05:00
|
|
|
APP_DATA="$HOME/.filebot"
|
|
|
|
|
2018-06-12 14:23:00 -04:00
|
|
|
java @{java.application.options} -Dapplication.deployment=deb -DuseGVFS=true -Dnet.filebot.gio.GVFS="$XDG_RUNTIME_DIR/gvfs" -Dapplication.dir="$APP_DATA" -Djava.io.tmpdir="$APP_DATA/tmp" -Djna.boot.library.path="$APP_ROOT/lib" -Djna.library.path="$APP_ROOT/lib" -Djava.library.path="$APP_ROOT/lib" -Dnet.filebot.AcoustID.fpcalc="$APP_ROOT/lib/fpcalc" $JAVA_OPTS -classpath "$APP_ROOT/jar/*" @{main.class} "$@"
|