From e389930a40af19b46e81053e2d6087d21994dfc1 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 16 Nov 2011 03:00:54 +0000 Subject: [PATCH] * added startup script for mac (untested) --- build.xml | 10 ++++++---- installer/appbundle/filebot | 5 +++++ installer/deb/filebot.sh | 3 ++- installer/msi/filebot.cmd | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 installer/appbundle/filebot diff --git a/build.xml b/build.xml index 10e59f3e..4cbe3ada 100644 --- a/build.xml +++ b/build.xml @@ -142,20 +142,22 @@ - + + - + + - - + + diff --git a/installer/appbundle/filebot b/installer/appbundle/filebot new file mode 100644 index 00000000..d8ac8f9d --- /dev/null +++ b/installer/appbundle/filebot @@ -0,0 +1,5 @@ +#!/bin/bash + +# UNTESTED ON OSX, PROBABLY DOESN'T WORK!! +# Help me fix this startup script! Contact me at rednoah@users.sourceforge.net +java -Dapplication.deployment=app "-Djna.library.path=../Resources/Java" -Xmx256m -jar "../Resources/Java/FileBot.jar" "$@" diff --git a/installer/deb/filebot.sh b/installer/deb/filebot.sh index 1c490bb5..edbcfecb 100644 --- a/installer/deb/filebot.sh +++ b/installer/deb/filebot.sh @@ -1 +1,2 @@ -java -Dapplication.deployment=deb -Djna.library.path=/usr/share/filebot -Xmx256m -jar /usr/share/filebot/FileBot.jar "$@" \ No newline at end of file +#!/bin/bash +java -Dapplication.deployment=deb -Djna.library.path=/usr/share/filebot -Xmx256m -jar /usr/share/filebot/FileBot.jar "$@" diff --git a/installer/msi/filebot.cmd b/installer/msi/filebot.cmd index e6964f82..ba326b6f 100644 --- a/installer/msi/filebot.cmd +++ b/installer/msi/filebot.cmd @@ -1,2 +1,2 @@ @ECHO OFF -java -Dapplication.deployment=msi -Xmx256m -jar "%~dp0FileBot.jar" %* \ No newline at end of file +java -Dapplication.deployment=msi -Xmx256m -jar "%~dp0FileBot.jar" %*