diff options
-rw-r--r-- | main.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -26,6 +26,9 @@ if (process.platform === 'linux') app.commandLine.appendSwitch('ppapi-flash-path', flashPath); app.commandLine.appendSwitch('ppapi-flash-version', '32.0.0.371'); +// Disable cache - might update something on the game side and just don't cache anything. +app.commandLine.appendSwitch('disable-http-cache'); + // Menu // https://www.electronjs.org/docs/latest/api/menu const menuTemplate = [ @@ -56,6 +59,7 @@ const menuTemplate = [ submenu: [ { role: 'reload' }, { role: 'forceReload' }, + { role: 'toggleDevTools' }, { type: 'separator' }, { role: 'resetZoom' }, { role: 'zoomIn' }, |