From b85fa14e4953b86e59818dba00d7cc47c8887d92 Mon Sep 17 00:00:00 2001 From: Kreedzt Date: Tue, 12 May 2020 20:42:42 +0800 Subject: [PATCH] :sparkles: Kreedzt - add about menus --- src/index.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/index.js b/src/index.js index c87351c..d11ce36 100644 --- a/src/index.js +++ b/src/index.js @@ -154,6 +154,24 @@ const menuTemplate = [ logger.info('log file path:', logFilePath); shell.openExternal(`file://${logFilePath}`); } + }, + { + label: 'Download latest software', + click: () => { + shell.openExternal( + 'https://github.com/Kreedzt/GFTool-Electron/releases' + ); + } + }, + { + label: 'Go to web page', + click: () => { + shell.openExternal('https://hycdes.com/'); + } + }, + { + label: `Current Version: ${app.getVersion()}`, + enabled: false } ] }