Work on the config and setup

This commit is contained in:
Scott Idem
2023-05-24 22:16:26 -04:00
parent a25978cf6f
commit 29111e8dce
9 changed files with 1946 additions and 10 deletions

View File

@@ -145,7 +145,8 @@ function createWindow () {
webPreferences: {
contextIsolation: false,
nodeIntegration: true,
nodeIntegrationInWorker: true
nodeIntegrationInWorker: true,
enableRemoteModule: true
}
})
@@ -179,7 +180,7 @@ function createWindow () {
let index_url = 'http://localhost/index.html';
if (config.native_app_index_url) {
index_url = native_app_index_url;
index_url = config.native_app_index_url;
} else {
index_url = 'https://app.oneskyit.com/native/index.html';
}