whoops i didnt know 2 windows lauched
This commit is contained in:
parent
dffe6db827
commit
12e1b5b19c
2 changed files with 0 additions and 4 deletions
3
main.js
3
main.js
|
@ -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()
|
||||||
})
|
})
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in a new issue