8 lines
299 B
Bash
8 lines
299 B
Bash
#!/bin/bash
|
|
SOURCE="${BASH_SOURCE[0]}"
|
|
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
|
dir_bin="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
|
|
|
dir_app=$dir_bin/../Resources/Java
|
|
java -Dapplication.deployment=app "-Djna.library.path=$dir_app" -Xmx256m -jar "$dir_app/FileBot.jar" "$@"
|