filebot/installer/appbundle/filebot
Reinhard Pointner e67c3669b1 # boost application startup speed
-XX:+TieredCompilation
2014-03-19 19:02:44 +00:00

7 lines
618 B
Bash

#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
BIN_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
JAVAROOT=$BIN_DIR/../Resources/Java
java -XX:+TieredCompilation -Djava.awt.headless=true -Dunixfs=false -DuseExtendedFileAttributes=true -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=app "-Djna.library.path=$JAVAROOT" "-Djava.library.path=$JAVAROOT" "-Dnet.sourceforge.filebot.AcoustID.fpcalc=$JAVAROOT/fpcalc" -jar "$JAVAROOT/FileBot.jar" "$@"