TagSpaces is an offline, open source, document manager with tagging support
chore: disable logging in main-thread for production
Ilian Sapundshiev1c0c8beb71e4
diff --git a/src/main/main.ts b/src/main/main.tsindex 82d18ae73..126f3fb8a 100644--- a/src/main/main.ts+++ b/src/main/main.ts@@ -67,6 +67,8 @@ if (isDebug) {// temp fix https://github.com/electron/electron/issues/43415#issuecomment-2359194469app.disableHardwareAcceleration();}+} else {+ console.log = () => {};}const testMode = process.env.NODE_ENV === 'test';