summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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' },