mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 09:42:21 -04:00
4 lines
141 B
Bash
4 lines
141 B
Bash
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 $1
|