refactor: 增量更新

pull/67/head
xiaojunnuo 4 years ago
parent 136cf7671d
commit 15670d6df4

@ -1,6 +1,6 @@
{ {
"name": "@docmirror/dev-sidecar", "name": "@docmirror/dev-sidecar",
"version": "1.5.0", "version": "1.5.1",
"description": "给开发者的加速代理工具", "description": "给开发者的加速代理工具",
"main": "src/index.js", "main": "src/index.js",
"keywords": [ "keywords": [

@ -1,6 +1,6 @@
{ {
"name": "@docmirror/dev-sidecar-gui", "name": "@docmirror/dev-sidecar-gui",
"version": "1.5.0", "version": "1.5.1",
"private": false, "private": false,
"license": "MPL-2.0", "license": "MPL-2.0",
"scripts": { "scripts": {

@ -30,12 +30,12 @@ module.exports = {
}, },
pluginOptions: { pluginOptions: {
electronBuilder: { electronBuilder: {
afterPack: './pkg/after-pack.js',
nodeIntegration: true, nodeIntegration: true,
// Provide an array of files that, when changed, will recompile the main process and restart Electron // 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 // Your main process file will be added by default
mainProcessWatch: ['src/bridge', 'src/*.js', 'node_modules/dev-sidecar/src'], mainProcessWatch: ['src/bridge', 'src/*.js', 'node_modules/dev-sidecar/src'],
builderOptions: { builderOptions: {
afterPack: './pkg/after-pack.js',
// builderOptions: { // builderOptions: {
// publish: ['github']// 此处写入github 就好,不用添加其他内容 // publish: ['github']// 此处写入github 就好,不用添加其他内容
// }, // },

Loading…
Cancel
Save