whoops i didnt know 2 windows lauched

This commit is contained in:
Frolleks 2022-03-22 14:09:09 +07:00
parent dffe6db827
commit 12e1b5b19c
2 changed files with 0 additions and 4 deletions

View file

@ -7,9 +7,6 @@ const createWindow = () => {
win.loadFile('index.html') win.loadFile('index.html')
} }
app.whenReady().then(() => {
createWindow()
})
app.on('window-all-closed', () => { app.on('window-all-closed', () => {
if (process.platform !== 'darwin') app.quit() if (process.platform !== 'darwin') app.quit()
}) })

View file

@ -4,7 +4,6 @@
"description": "Notertron is a note taking app built with Electron.", "description": "Notertron is a note taking app built with Electron.",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "electron ." "start": "electron ."
}, },
"repository": { "repository": {