fix to add sketches to command line for processing on linux (bug #1549)

This commit is contained in:
benfry
2010-04-28 21:18:31 +00:00
parent 837fdb33d0
commit b0cdc657ae
2 changed files with 5 additions and 1 deletions

View File

@@ -75,6 +75,8 @@ JDKDIR=`readlink -f "$APPDIR/java"`
make_jdkcp "$JDKDIR"
log SUCCESS
SKETCH=`readlink -f $1`
# Local JDK found?
if [ $SUCCESS -ne 1 ]; then
# No, try using the preferred system JRE/JDK (if any)
@@ -97,4 +99,4 @@ log PATH
# Start Processing in the same directory as this script
cd "$APPDIR"
java processing.app.Base &
java processing.app.Base "$SKETCH" &

View File

@@ -1,4 +1,6 @@
0185 pde
X add option to launch a sketch directly w/ linux
X http://dev.processing.org/bugs/show_bug.cgi?id=1549
_ create default tools folder (just like libraries)