1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-18 07:15:07 -05:00
filebot/installer/appbundle/filebot
2011-11-20 18:04:50 +00:00

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" "$@"