File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
26
26
- Option to use RegExp in Calendar's titleReplace.
27
27
- Hungarian Translation.
28
28
- Icelandic Translation.
29
+ - Add use a script to prevent when is run by SSH session set DISPLAY enviroment.
29
30
- Enable ability to set configuration file by the enviroment variable called MM_CONFIG_FILE.
30
31
31
32
### Fixed
Original file line number Diff line number Diff line change 4
4
"description" : " A modular interface for smart mirrors." ,
5
5
"main" : " js/electron.js" ,
6
6
"scripts" : {
7
- "start" : " electron js/electron.js " ,
7
+ "start" : " sh run-start.sh " ,
8
8
"postinstall" : " sh installers/postinstall/postinstall.sh" ,
9
9
"test" : " ./node_modules/mocha/bin/mocha tests --recursive"
10
10
},
Original file line number Diff line number Diff line change
1
+ if [ -z " $DISPLAY " ]; then # If not set DISPLAY is SSH remote or tty
2
+ export DISPLAY=:0 # Set by defaul display
3
+ fi
4
+ electron js/electron.js
You can’t perform that action at this time.
0 commit comments