Skip to content

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

Merge branch 'TS158-AddReadabilityToMHTML' of https://github.com/tagspaces/viewerMHTML into TS158-AddReadabilityToMHTML

kristiyanddcf6cc6f55e85
diff --git a/data/electron/main.js b/data/electron/main.js
index 14de7b3e5..32a42975c 100644
--- a/data/electron/main.js
+++ b/data/electron/main.js
@@ -95,12 +95,16 @@ app.on('ready', function(event) {
});
});
+ console.log(process.platform);
if (process.platform === 'darwin') {
trayIcon = new Tray('Contents/Resources/app/assets/trayicon.png');
} else if (process.platform === 'win') {
- trayIcon = new Tray('resources/app/assets/trayicon.png');
+ trayIcon = new Tray('assets/trayicon.png'); // 4 dev
+
+ //trayIcon = new Tray('resources/app/assets/trayicon.png');
} else {
- trayIcon = new Tray('resources/app/assets/trayicon.png');
+ trayIcon = new Tray('assets/trayicon.png'); // 4 dev
+ //trayIcon = new Tray('resources/app/assets/trayicon.png');
}
//trayIcon = new Tray('assets/trayicon.png'); // 4 dev