diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..051ef60 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +**/*.ejs diff --git a/app/electron.js b/app/electron.js index 5c1a5be..282ee42 100644 --- a/app/electron.js +++ b/app/electron.js @@ -42,15 +42,15 @@ function createMainWindow () { const installExtension = require('electron-devtools-installer') installExtension.default(installExtension.VUEJS_DEVTOOLS) - .then(name => win.webContents.openDevTools()) - .catch(err => console.log('An error occurred: ', err)) + .then(name => win.webContents.openDevTools()) + .catch(err => console.log('An error occurred: ', err)) } win.on('closed', () => { console.log('触发 closed') mainWindow = null backgroundWindow = null - // 在Mac中完全退出程序,而不会留在dock中 + // 在Mac中完全退出程序,而不会留在dock中 app.quit() }) diff --git a/app/main.ejs b/app/main.ejs index 4933287..e6ba9e8 100644 --- a/app/main.ejs +++ b/app/main.ejs @@ -2,16 +2,16 @@
- - -