2015-03-28 18:37:38 +00:00
|
|
|
#!/bin/sh
|
2017-02-07 13:50:37 +00:00
|
|
|
APP_ROOT=/usr/share/filebot
|
2015-03-28 18:37:38 +00:00
|
|
|
|
2016-03-06 15:32:30 +00:00
|
|
|
if [ -z "$HOME" ]; then
|
|
|
|
echo '$HOME must be set'
|
2015-10-11 14:04:13 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2016-03-08 16:21:13 +00:00
|
|
|
# select application data folder
|
2016-03-06 15:32:30 +00:00
|
|
|
APP_DATA="$HOME/.filebot"
|
|
|
|
|
2018-03-16 13:53:13 +00: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.library.path="$APP_ROOT" -Djava.library.path="$APP_ROOT" -Dnet.filebot.AcoustID.fpcalc="$APP_ROOT/fpcalc" $JAVA_OPTS -classpath "$APP_ROOT/*" @{main.class} "$@"
|