fix when is set dev parameter option in "npm start dev".

issue #684
This commit is contained in:
Rodrigo Ramírez Norambuena 2017-02-03 13:32:44 -03:00
parent fd738e5c8b
commit 83f7cb2033

View File

@ -1,4 +1,4 @@
if [ -z "$DISPLAY" ]; then #If not set DISPLAY is SSH remote or tty
export DISPLAY=:0 # Set by defaul display
fi
electron js/electron.js
electron js/electron.js $1