electron: add missing fullscreen option (#3192)

follow up for https://github.com/MichMich/MagicMirror/pull/3187

@bugsounet can you please confirm that this now works for you?
This commit is contained in:
Karsten Hassel 2023-09-14 08:01:50 +02:00 committed by GitHub
parent fa7c7fc8cf
commit 7127979c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@ _This release is scheduled to be released on 2023-10-01._
- Fix time issue with certain recurring events in calendar module - Fix time issue with certain recurring events in calendar module
- Fix ipWhiteList test (#3179) - Fix ipWhiteList test (#3179)
- Fix newsfeed: Convert HTML entities, codes and tag in description (#3191) - Fix newsfeed: Convert HTML entities, codes and tag in description (#3191)
- Respect width/height (no fullscreen) if set in electronOptions in `config.js` (#3174) - Respect width/height (no fullscreen) if set in electronOptions (together with `fullscreen: false`) in `config.js` (#3174)
## [2.24.0] - 2023-07-01 ## [2.24.0] - 2023-07-01

View File

@ -59,6 +59,7 @@ function createWindow() {
electronOptionsDefaults.frame = false; electronOptionsDefaults.frame = false;
electronOptionsDefaults.transparent = true; electronOptionsDefaults.transparent = true;
electronOptionsDefaults.hasShadow = false; electronOptionsDefaults.hasShadow = false;
electronOptionsDefaults.fullscreen = true;
} }
const electronOptions = Object.assign({}, electronOptionsDefaults, config.electronOptions); const electronOptions = Object.assign({}, electronOptionsDefaults, config.electronOptions);