2020-08-01 12:20:16 +02:00
|
|
|
/* Magic Mirror Test config for display setters module using the helloworld module
|
|
|
|
*
|
2021-04-08 21:12:56 +02:00
|
|
|
* By Rejas
|
2020-08-01 12:20:16 +02:00
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
2021-03-21 17:20:31 +01:00
|
|
|
let config = {
|
2020-08-01 12:20:16 +02:00
|
|
|
electronOptions: {
|
|
|
|
fullscreen: false,
|
|
|
|
width: 800,
|
|
|
|
height: 600,
|
|
|
|
webPreferences: {
|
2021-01-30 20:29:59 +01:00
|
|
|
nodeIntegration: true,
|
2021-07-04 19:21:17 +02:00
|
|
|
enableRemoteModule: true,
|
|
|
|
contextIsolation: false
|
2020-08-01 12:20:16 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
modules: [
|
|
|
|
{
|
|
|
|
module: "helloworld",
|
|
|
|
position: "top_bar",
|
|
|
|
header: "test_header",
|
|
|
|
config: {
|
|
|
|
text: "Test Display Header"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
module: "helloworld",
|
|
|
|
position: "bottom_bar",
|
|
|
|
config: {
|
|
|
|
text: "Test Hide Header"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
2021-04-08 21:12:56 +02:00
|
|
|
|
2021-07-05 00:33:50 +02:00
|
|
|
config = Object.assign(require("../default.js"), config);
|
|
|
|
|
2020-08-01 12:20:16 +02:00
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
|
|
if (typeof module !== "undefined") {
|
|
|
|
module.exports = config;
|
|
|
|
}
|