dsr/src/main.ts

15 lines
239 B
TypeScript
Raw Normal View History

2023-07-28 02:32:18 +02:00
import { app, BrowserWindow } from "electron";
const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600,
});
win.loadFile("../index.html");
};
app.whenReady().then(() => {
createWindow();
});