From e43c01da6470d4ff0a2f844b8ac8bc219b2302a7 Mon Sep 17 00:00:00 2001 From: Araxeus Date: Tue, 11 May 2021 00:20:00 +0300 Subject: [PATCH] lint --- providers/prompt-options.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,