🎀 Icon

This commit is contained in:
hunlongyu
2020-04-23 18:05:56 +08:00
parent 74a7d6b35b
commit c8e6e8703c
18 changed files with 35 additions and 12341 deletions

View File

@@ -5,6 +5,7 @@ import {
createProtocol
// installVueDevtools
} from 'vue-cli-plugin-electron-builder/lib'
import path from 'path'
const isDevelopment = process.env.NODE_ENV !== 'production'
// Keep a global reference of the window object, if you don't, the window will
@@ -25,7 +26,8 @@ function createWindow () {
webPreferences: {
webSecurity: false,
nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION
}
},
icon: path.join(__static, 'icon.png')
})
if (process.env.WEBPACK_DEV_SERVER_URL) {
@@ -53,7 +55,8 @@ function createMini () {
webPreferences: {
webSecurity: false,
nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION
}
},
icon: path.join(__static, 'icon.png')
})
if (process.env.WEBPACK_DEV_SERVER_URL) {