mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
7 lines
462 B
Bash
Executable File
7 lines
462 B
Bash
Executable File
#!/bin/sh
|
|
APP_EXE=`readlink /usr/local/bin/filebot`
|
|
APP_ROOT=`dirname "$APP_EXE"`
|
|
|
|
# start filebot
|
|
/usr/libexec/java_home --failfast --version "@{jvm.version}+" --exec java @{java.application.options} -Dapplication.deployment=cask -Djava.awt.headless=true -Dapple.awt.UIElement=true -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/*" @{main.class} "$@"
|