mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
fix to add sketches to command line for processing on linux (bug #1549)
This commit is contained in:
@@ -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" &
|
||||
|
||||
Reference in New Issue
Block a user