mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03:00
Splashscreen
This commit is contained in:
10
build/linux/dist/arduino
vendored
10
build/linux/dist/arduino
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
CURDIR=`pwd`
|
||||
APPDIR="$(dirname -- "$(readlink -f -- "${0}")" )"
|
||||
@ -20,5 +20,11 @@ export LD_LIBRARY_PATH
|
||||
|
||||
export PATH="${APPDIR}/java/bin:${PATH}"
|
||||
|
||||
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base --curdir $CURDIR "$@"
|
||||
if [[ "$@" == *"--upload"* || "$@" == *"--upload"* || "$@" == *"--get-pref"* ]] ; then
|
||||
SPLASH=""
|
||||
else
|
||||
SPLASH="-splash:./lib/splash.png"
|
||||
fi
|
||||
|
||||
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel $SPLASH processing.app.Base --curdir $CURDIR "$@"
|
||||
|
||||
|
Reference in New Issue
Block a user