blob: 9d9ca7c2dbdd0ffef4bbb9212702c102527210b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff --git a/build/main.js b/build/main.js
index dac1499..85e12a1 100644
--- a/build/main.js
+++ b/build/main.js
@@ -106,23 +106,7 @@
return !app.isPackaged;
}
function getAppIcon(app) {
- let appIcon = "";
- switch (getPlatformName()) {
- case PLATFORM.WINDOWS:
- appIcon = "win/systray.png";
- break;
- case PLATFORM.DARWIN:
- appIcon = "mac/trayTemplate.png";
- break;
- case PLATFORM.LINUX:
- appIcon = "linux/systray.png";
- }
- return external_path_default().join(
- isDev(app)
- ? external_path_default().join(app.getAppPath(), "resources")
- : process.resourcesPath,
- appIcon,
- );
+ return external_path_default().join(app.getAppPath(), "/resources/linux/systray.png");
}
function getDzTld() {
return process.env.DZ_DEV_ENV ? "deezerdev.com" : "deezer.com";
|