@ -9,6 +9,8 @@ function createWindow() {
const win = new BrowserWindow({
width: 800,
height: 600,
fullscreen: true,
autoHideMenuBar: true,
webPreferences: {
preload: path.join(__dirname, 'preload.js'), // preload 文件
contextIsolation: true,