diff --git a/providers/prompt-options.js b/providers/prompt-options.js index 79cbc36f..16f02a99 100644 --- a/providers/prompt-options.js +++ b/providers/prompt-options.js @@ -1,7 +1,7 @@ const path = require("path"); const is = require("electron-is"); -const iconPath = path.resolve(__dirname, "../assets/youtube-music-tray.png"); +const iconPath = path.join(__dirname, "..", "assets", "youtube-music-tray.png"); const customTitlebarPath = path.join(__dirname, "prompt-custom-titlebar.js"); const promptOptions = is.macOS() ? { @@ -9,7 +9,6 @@ const promptOptions = is.macOS() ? { icon: iconPath } : { customStylesheet: "dark", - icon: iconPath, // The following are used for custom titlebar frame: false, customScript: customTitlebarPath,