FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix to add sketches to command line for processing on linux (bug #1549) · anunknownerror/processing@7b4e8e2 · GitHub

Repository navigation

Commit 7b4e8e2

Browse files
committed
fix to add sketches to command line for processing on linux (bug processing#1549)
1 parent 6c9dc00 commit 7b4e8e2

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎build/linux/processing‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ JDKDIR=`readlink -f "$APPDIR/java"`
7575
make_jdkcp "$JDKDIR"
7676
log SUCCESS
7777

78+
SKETCH=`readlink -f $1`
79+
7880
# Local JDK found?
7981
if [ $SUCCESS -ne 1 ]; then
8082
# No, try using the preferred system JRE/JDK (if any)
@@ -97,4 +99,4 @@ log PATH
9799

98100
# Start Processing in the same directory as this script
99101
cd "$APPDIR"
100-
java processing.app.Base &
102+
java processing.app.Base "$SKETCH" &

‎todo.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
0185 pde
2+
X add option to launch a sketch directly w/ linux
3+
X http://dev.processing.org/bugs/show_bug.cgi?id=1549
24

35

46
_ create default tools folder (just like libraries)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL