✨Feat: 显示系统运行环境

This commit is contained in:
2025-10-30 08:55:54 +08:00
parent 9ab9b380de
commit 9897662b35
4 changed files with 16 additions and 0 deletions
+5
View File
@@ -1,9 +1,14 @@
const { app, BrowserWindow } = require("electron");
const path = require("node:path");
const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
preload: path.join(__dirname, "preload.js"),
},
});
win.loadFile("index.html");