Work on checking data and cache.
This commit is contained in:
4
index.js
4
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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user