From c4315986bc6ff814b0d8975699d9e89ab75961a2 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 13 十月 2023 10:19:35 +0800
Subject: [PATCH] 更新体重秤通讯

---
 electron/main/index.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/electron/main/index.ts b/electron/main/index.ts
index 771a6e6..ba603bc 100644
--- a/electron/main/index.ts
+++ b/electron/main/index.ts
@@ -65,7 +65,7 @@
   win = new BrowserWindow({
     title: 'Main window',
     transparent: true,
-    frame:store.get('debug'),//关闭菜单栏
+    frame:store.get('debug')===undefined?true:store.get('debug'),//关闭菜单栏
     fullscreen: true,// 开启默认全屏
     kiosk: true,
     // autoHideMenuBar:store.get('debug'), 

--
Gitblit v1.8.0