|
@ -3,8 +3,8 @@ const {app, BrowserWindow} = require('electron'); |
|
|
function createWindow() { |
|
|
function createWindow() { |
|
|
// 创建浏览器窗口
|
|
|
// 创建浏览器窗口
|
|
|
let win = new BrowserWindow({ |
|
|
let win = new BrowserWindow({ |
|
|
width: 640, |
|
|
|
|
|
height: 480, |
|
|
|
|
|
|
|
|
width: 1024, |
|
|
|
|
|
height: 600, |
|
|
kiosk: true, |
|
|
kiosk: true, |
|
|
frame: false |
|
|
frame: false |
|
|
}); |
|
|
}); |
|
|