|
|
@ -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 就好,不用添加其他内容
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|