From a7e4df094f4654e896b01b0ae24fbbcb1e7e76db Mon Sep 17 00:00:00 2001 From: 3136352472 <3136352472> Date: Wed, 22 Apr 2020 15:17:59 +0800 Subject: [PATCH] fix --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index cae2c15..3beb31a 100644 --- a/main.js +++ b/main.js @@ -4,7 +4,7 @@ const { app, BrowserWindow, Notification } = require('electron') const path = require('path') const main = require(path.join(__dirname, "lib/main.js")) const mhttp = require(path.join(__dirname, "lib/http.js")) - +app.setAppUserModelId(process.execPath); // This method will be called when Electron has finished