mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix " does not exist" message on Linux startup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user