fix " does not exist" message on Linux startup

This commit is contained in:
Ben Fry
2022-03-12 09:50:09 -05:00
parent 97747b2b1a
commit 4f32cdaa5c
2 changed files with 6 additions and 6 deletions
+1 -6
View File
@@ -106,12 +106,7 @@ then
exit $?
else
# Start Processing in the same directory as this script
if [ "$1" ]; then
SKETCH=`readlink -f "$1"`
else
SKETCH=
fi
cd "$APPDIR"
java -Djna.nosys=true -Dpython.console.encoding=UTF-8 -Xmx512m --add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED processing.app.ui.Splash "$SKETCH" &
java -Djna.nosys=true -Dpython.console.encoding=UTF-8 -Xmx512m --add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED processing.app.ui.Splash "$@" &
fi
+5
View File
@@ -4,6 +4,11 @@ X opening AspectHelper.js makes it the main tab
X through sketch.properties is not rewritten
X dropping folder into sketch window throws weird exception
X https://github.com/processing/processing4/issues/441
X " does not exist" message on Linux startup
X no longer pass a blank sketch file name from startup script
X also remove unused readlink
X support multiple files passed on command line
X only show setWritable() failure in recent.txt when it is a problem
manager
X "Error during download and install of Python Mode for Processing"