diff --git a/app/index.html b/app/index.html index 435f2d9..fe78584 100644 --- a/app/index.html +++ b/app/index.html @@ -57,6 +57,34 @@ + + + @@ -85,7 +113,7 @@ - + @@ -99,25 +127,7 @@ /* ***** **** *** ** * ### * ** *** **** ***** */ -let app_config = app.load_config(); -const flask_env = 'development'; // 'development', 'production' -const env = 'development'; // 'development', 'production' -const app_env = 'development_local'; // 'development_local', 'development_remote' -const api_env = 'development_local'; // 'development_local', 'development_remote' -const app_mode = 'app'; // null, 'default', 'onsite', 'app' - -let client_account_id = app_config.account_id; -console.log(client_account_id); -let event_id = app_config.event_id; -let event_device_id = app_config.event_device_id; -let event_location_id = app_config.event_location_id; - -const page_for = { 'event': event_id, 'event_device': event_device_id, 'event_location': event_location_id }; // Simple key value like object -console.log(page_for); - -const host_file_cache_path = app_config.host_file_cache_path; // 'file_cache/' -const host_file_temp_path = app_config.host_file_temp_path; // 'temp/' /* ***** **** *** ** * ### * ** *** **** ***** */ @@ -158,7 +168,7 @@ window.addEventListener('offline', app.currently_offline); /* ***** **** *** ** * ### * ** *** **** ***** */ // BEGIN: Load IDB section -let idb_name = app_config.idb_name; +// let idb_name = app_config.idb_name; // let tbl_event = null; // let tbl_event_location = null; diff --git a/index.js b/index.js index 3cfbc4d..41633e2 100644 --- a/index.js +++ b/index.js @@ -35,7 +35,7 @@ function createWindow () { win = new BrowserWindow({ width: 1500, // 1500 1280 height: 1024, // 1024 - backgroundColor: '#fff', + backgroundColor: '#aaa', icon: './app/img/favicon.ico', webPreferences: { contextIsolation: false, @@ -50,6 +50,8 @@ function createWindow () { //win.setFullScreenable(false) win.FullScreenable = false; + // win.webContents.session.clearStorageData(['filesystem']); // Does this do anything??? + // and load the index.html of the app. win.loadFile('app/index.html');