From 8284b56075baf819ec89884530ff2022cf94bdfb Mon Sep 17 00:00:00 2001 From: Araxeus Date: Mon, 10 May 2021 20:40:25 +0300 Subject: [PATCH] set appID on windows --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 81fd45b5..1e1af391 100644 --- a/index.js +++ b/index.js @@ -255,6 +255,10 @@ app.on("ready", () => { }, 20000); } + if (is.windows()) { + app.setAppUserModelId("com.github.th-ch.youtube-music"); + } + mainWindow = createMainWindow(); setApplicationMenu(mainWindow); if (config.get("options.restartOnConfigChanges")) {