chenyc
2023-09-08 f6d62eaf70440d3183cad494d08a9e8c96c3d9d8
electron/main/index.ts
@@ -65,10 +65,10 @@
  win = new BrowserWindow({
    title: 'Main window',
    transparent: true,
    frame:false,
    frame:store.get('debug'),//关闭菜单栏
    fullscreen: true,// 开启默认全屏
    kiosk: true,
    autoHideMenuBar:store.get('debug'), //关闭菜单栏
    // autoHideMenuBar:store.get('debug'),
    webPreferences: {
      preload: splash,
      nodeIntegration: true,