Add electron min thread entry

This commit is contained in:
2022-04-15 15:31:47 +08:00
parent 61e590df4d
commit ff88c7047e
6 changed files with 89 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
import { app, BrowserWindow } from "electron";
async function main() {
await app.whenReady();
const win = new BrowserWindow({
width: 800,
height: 600
});
win.loadURL("https://www.baidu.com");
}
main();