+ Add sample electron project

This commit is contained in:
2019-10-24 13:49:04 +02:00
parent 456cfd9118
commit f9a5dd56f0
8 changed files with 546 additions and 1 deletions

10
src/main.ts Normal file
View File

@@ -0,0 +1,10 @@
import { app, BrowserWindow } from 'electron';
let win: BrowserWindow = null;
app.on('ready', () => {
win = new BrowserWindow({
height: 600,
width: 800
});
win.loadFile('index.html');
});