You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
refactor: 增量更新
This commit is contained in:
@@ -30,11 +30,15 @@ module.exports = {
|
||||
},
|
||||
pluginOptions: {
|
||||
electronBuilder: {
|
||||
afterPack: './pkg/after-pack.js',
|
||||
nodeIntegration: true,
|
||||
// Provide an array of files that, when changed, will recompile the main process and restart Electron
|
||||
// Your main process file will be added by default
|
||||
mainProcessWatch: ['src/bridge', 'src/*.js', 'node_modules/dev-sidecar/src'],
|
||||
builderOptions: {
|
||||
// builderOptions: {
|
||||
// publish: ['github']// 此处写入github 就好,不用添加其他内容
|
||||
// },
|
||||
extraResources: [
|
||||
{
|
||||
from: 'extra',
|
||||
@@ -57,7 +61,7 @@ module.exports = {
|
||||
},
|
||||
publish: {
|
||||
provider: 'generic',
|
||||
url: ''
|
||||
url: 'http://dev-sidecar.docmirror.cn/update/'
|
||||
}
|
||||
},
|
||||
chainWebpackMainProcess (config) {
|
||||
|
||||
Reference in New Issue
Block a user