Skip to content

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

quiting app on window close under mac os

Ilian Sapundshievd3dc9c174c7c
diff --git a/app/main.dev.js b/app/main.dev.js
index a3b3b3470..dfb3e73d5 100644
--- a/app/main.dev.js
+++ b/app/main.dev.js
@@ -88,12 +88,8 @@ const installExtensions = async () => {
app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); // Fix broken autoplay functionality in the av player
app.on('window-all-closed', () => {
- // Respect the OSX convention of having the application in memory even
- // after all windows have been closed
- if (process.platform !== 'darwin') {
- globalShortcut.unregisterAll();
- app.quit();
- }
+ globalShortcut.unregisterAll();
+ app.quit();
});
app.on('ready', async () => {