mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 10:03:28 +07:00
fix: #70 Unable to display tray icon on windows.
The icon filename was wrong in 4bbd770f
.
This commit is contained in:
parent
c36c657d04
commit
6ac94535c0
@ -25,12 +25,12 @@ const createWindow = () => {
|
|||||||
let appIcon = "";
|
let appIcon = "";
|
||||||
let trayIcon = "";
|
let trayIcon = "";
|
||||||
if (require("os").platform() === "win32") {
|
if (require("os").platform() === "win32") {
|
||||||
appIcon = __dirname + "/icons/app_icon.ico";
|
appIcon = __dirname + "/icons/app.ico";
|
||||||
} else {
|
} else {
|
||||||
appIcon = __dirname + "/icons/256x256.png";
|
appIcon = __dirname + "/icons/256x256.png";
|
||||||
}
|
}
|
||||||
if (require("os").platform() === "win32") {
|
if (require("os").platform() === "win32") {
|
||||||
trayIcon = __dirname + "/icons/tray_icon.ico";
|
trayIcon = __dirname + "/icons/tray.ico";
|
||||||
} else {
|
} else {
|
||||||
trayIcon = __dirname + "/icons/128x128.png";
|
trayIcon = __dirname + "/icons/128x128.png";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user