This commit is contained in:
shixh4 2023-11-02 10:14:40 +08:00
parent 65741ec137
commit 8588626706
2 changed files with 5 additions and 1 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
registry=https://registry.npm.taobao.org/

View File

@ -12,4 +12,7 @@ const createWindow = () => {
app.whenReady().then(() => { app.whenReady().then(() => {
createWindow() createWindow()
}) })
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') app.quit()
})