You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
461 B
23 lines
461 B
/* |
|
* @Author: 李皓 hao_li_work@163.com |
|
* @Date: 2026-07-28 15:22:20 |
|
* @LastEditors: 李皓 hao_li_work@163.com |
|
* @LastEditTime: 2026-07-28 16:25:17 |
|
* @FilePath: \pc\main.js |
|
* @Description: |
|
* @Version: 1.0.0 |
|
*/ |
|
const { app, BrowserWindow } = require('electron') |
|
|
|
const createWindow = () => { |
|
const win = new BrowserWindow({ |
|
width: 800, |
|
height: 600 |
|
}) |
|
|
|
win.loadFile('./dist/index.html') |
|
} |
|
|
|
app.whenReady().then(() => { |
|
createWindow() |
|
}) |