🐛 Fix: launch error in new structrue

This commit is contained in:
Molunerfinn
2019-12-20 18:46:39 +08:00
parent 4e3fa28be6
commit bc8e641fda
3 changed files with 12 additions and 72 deletions
+2
View File
@@ -12,6 +12,8 @@ module.exports = {
},
pluginOptions: {
electronBuilder: {
customFileProtocol: 'picgo://./',
externals: ['picgo'],
chainWebpackMainProcess: config => {
config.resolve.alias
.set('@', resolve('src/renderer'))