2019-07-12 16:36:49 101.207.27.* 对a*说:
const { app, BrowserWindow } = require('electron')

function createWindow () {
// 创建浏览器窗口
let win = new BrowserWindow({
// width: 800,
// height: 600,

show: false,
webPreferences: {
nodeIntegration: true
}
})

// 加载index.html文件
//win.loadFile('index.html')
win.loadURL('https://pm.h5more.com/admin/chat/chat#/room?gid=6&name=知识分享群&type=1&tid=QInzBC128')
win.maximize()
win.show()

}

app.on('ready', createWindow)

  1. https://www.cnblogs.com/fiy-noob/p/10100548.html
    oo[2] xx[0] 2019-07-12 16:38:10

回复

关于本站 @ 2018