From 714043c9eca8beda905c1664a8e41442346fff7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Thu, 5 Sep 2024 10:30:47 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E7=A6=81=E7=94=A8=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/api/config.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/electron/api/config.ts b/electron/api/config.ts index 1ff45af..f38be9d 100644 --- a/electron/api/config.ts +++ b/electron/api/config.ts @@ -162,7 +162,8 @@ export const initConfigApi = win => { serverName: "", secretKey: m?.secretKey || "", bindAddr: "", - bindPort: null + bindPort: null, + status: m?.status || true }; return rm; }); @@ -184,7 +185,8 @@ export const initConfigApi = win => { serverName: m?.serverName, secretKey: m?.secretKey || "", bindAddr: m?.bindAddr, - bindPort: m?.bindPort + bindPort: m?.bindPort, + status: m?.status || true }; return rm; });