mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
fix clientOnly not starting up after async startup added in 2.23 (#3154)
Fixes #3151 app.whenReady() was removed when async changes made, needed for clientonly in electron.js
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
.then(function (configReturn) {
|
||||
// Pass along the server config via an environment variable
|
||||
const env = Object.create(process.env);
|
||||
env.clientonly = true; // set to pass to electron.js
|
||||
const options = { env: env };
|
||||
configReturn.address = config.address;
|
||||
configReturn.port = config.port;
|
||||
|
Reference in New Issue
Block a user