Work on checking data and cache.

This commit is contained in:
Scott Idem
2022-03-17 18:56:06 -04:00
parent 021a624030
commit bab40978c7
2 changed files with 33 additions and 21 deletions

View File

@@ -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');