summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-08-14 18:11:23 +1000
committerNicholas Tay <nick@windblume.net>2022-08-14 18:11:23 +1000
commit6d520bbb4ec6ba4e8687fc64af7aa512959878df (patch)
tree6aceb230396208caea01a8444c2d656a071cbacd
parenta36b59792e85ae0bd57fc452257473dfccf9495e (diff)
downloadelectron-flash-6d520bbb4ec6ba4e8687fc64af7aa512959878df.tar.gz
electron-flash-6d520bbb4ec6ba4e8687fc64af7aa512959878df.tar.bz2
electron-flash-6d520bbb4ec6ba4e8687fc64af7aa512959878df.zip
Disable http cache + allow devtoolsHEADmaster
Diffstat (limited to '')
-rw-r--r--main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.js b/main.js
index b528725..71c3456 100644
--- a/main.js
+++ b/main.js
@@ -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' },