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