diff options
author | Nicholas Tay <nick@windblume.net> | 2022-08-14 18:11:23 +1000 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-08-14 18:11:23 +1000 |
commit | 6d520bbb4ec6ba4e8687fc64af7aa512959878df (patch) | |
tree | 6aceb230396208caea01a8444c2d656a071cbacd | |
parent | a36b59792e85ae0bd57fc452257473dfccf9495e (diff) | |
download | electron-flash-6d520bbb4ec6ba4e8687fc64af7aa512959878df.tar.gz electron-flash-6d520bbb4ec6ba4e8687fc64af7aa512959878df.tar.bz2 electron-flash-6d520bbb4ec6ba4e8687fc64af7aa512959878df.zip |
Diffstat (limited to '')
-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' }, |