Skip to content

TagSpaces is an offline, open source, document manager with tagging support

using platform.io function for quiting the app

Ilian Sapundshiev1a9ff5f47894
diff --git a/app/services/electron-tray-menu.js b/app/services/electron-tray-menu.js
index 91e012866..b502aeab7 100644
--- a/app/services/electron-tray-menu.js
+++ b/app/services/electron-tray-menu.js
@@ -76,10 +76,10 @@ export default function buildTrayIconMenu(mainPageProps: Object) {
},
{
label: i18n.t('core:quitTagSpaces'),
- role: 'quit',
- /* click: () => {
+ // role: 'quit',
+ click: () => {
PlatformIO.quitApp();
- } */
+ }
}
];
PlatformIO.initTrayMenu(trayMenuTemplate);