mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
5 lines
142 B
Bash
5 lines
142 B
Bash
if [ -z "$DISPLAY" ]; then #If not set DISPLAY is SSH remote or tty
|
|
export DISPLAY=:0 # Set by default display
|
|
fi
|
|
electron js/electron.js $1
|