2011-11-16 03:00:54 +00:00
|
|
|
#!/bin/bash
|
2011-11-20 18:04:50 +00:00
|
|
|
SOURCE="${BASH_SOURCE[0]}"
|
|
|
|
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
|
|
|
dir_bin="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
2011-11-16 03:00:54 +00:00
|
|
|
|
2011-11-20 18:04:50 +00:00
|
|
|
dir_app=$dir_bin/../Resources/Java
|
2012-07-21 20:30:22 +00:00
|
|
|
java -Dunixfs=false -Djava.awt.headless=true -Xmx256m -Dapplication.deployment=app "-Djna.library.path=$dir_app" "-Djava.library.path=$dir_app" -Dsun.net.client.defaultConnectTimeout=5000 -Dsun.net.client.defaultReadTimeout=25000 -jar "$dir_app/FileBot.jar" "$@"
|