|
@@ -113,7 +113,7 @@ if (!gotTheLock) {
|
|
|
if (BrowserWindow.getAllWindows().length === 0) createWindow()
|
|
|
})
|
|
|
// 禁用缓存
|
|
|
- // app.commandLine.appendSwitch("--disable-http-cache")
|
|
|
+ app.commandLine.appendSwitch("--disable-http-cache")
|
|
|
// This method will be called when Electron has finished
|
|
|
// initialization and is ready to create browser windows.
|
|
|
// Some APIs can only be used after this event occurs.
|