init
This commit is contained in:
commit
cd27f7e4af
12 changed files with 1786 additions and 0 deletions
14
index.ts
Normal file
14
index.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
const { app, BrowserWindow } = require('electron')
|
||||
|
||||
const createWindow = () => {
|
||||
const win = new BrowserWindow({
|
||||
width: 800,
|
||||
height: 600
|
||||
})
|
||||
|
||||
win.loadFile('index.html')
|
||||
}
|
||||
|
||||
app.whenReady().then(() => {
|
||||
createWindow()
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue