From dd45a408fc557541d4ed28b854ed237c5d389515 Mon Sep 17 00:00:00 2001 From: gaoshuaixing Date: Wed, 23 Aug 2023 19:13:55 +0800 Subject: [PATCH] focus --- electron/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/electron/index.js b/electron/index.js index 7491e37..c0028e2 100644 --- a/electron/index.js +++ b/electron/index.js @@ -32,6 +32,7 @@ class Index extends Application { const win = this.electron.mainWindow; win.once('ready-to-show', () => { win.show(); + win.focus(); }) } }