From c91b0c209a47d6534398f41ee76899749ea0ba53 Mon Sep 17 00:00:00 2001 From: Raghav Jajodia Date: Sat, 7 Jan 2017 15:58:19 +0530 Subject: [PATCH] Added clear cache option --- app/main/menu.js | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/app/main/menu.js b/app/main/menu.js index 2407b150..48a839ff 100644 --- a/app/main/menu.js +++ b/app/main/menu.js @@ -93,13 +93,7 @@ const helpSubmenu = [ { label: `${appName + 'Desktop'} - ${app.getVersion()}`, enabled: false - }, - { - label: 'Clear Cache', - click() { - clearCache(); - } - }, + }, { label: 'Report an Issue...', click() { @@ -148,6 +142,12 @@ const darwinTpl = [ { type: 'separator' }, + { + label: 'Clear Cache', + click() { + clearCache(); + } + }, { label: 'Log Out', click(item, focusedWindow) { @@ -277,6 +277,12 @@ const otherTpl = [ { type: 'separator' }, + { + label: 'Clear Cache', + click() { + clearCache(); + } + }, { label: 'Log Out', click(item, focusedWindow) {