From 9474e9f173211af403e39f185b181f8b7ecbf2b8 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 10 Mar 2022 03:36:11 -0800 Subject: [PATCH] Fix AppUserModelId for electron main process --- src/main.dev.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.dev.js b/src/main.dev.js index b0401a1..6674dec 100644 --- a/src/main.dev.js +++ b/src/main.dev.js @@ -541,6 +541,8 @@ const createWindow = async () => { }); if (isWindows()) { + app.setAppUserModelId(process.execPath); + mainWindow.on('resize', () => { const window = mainWindow.getContentBounds();