|
|
@ -1,7 +1,7 @@ |
|
|
|
const { spawn } = require('child_process'); |
|
|
|
const { spawn } = require('child_process'); |
|
|
|
exports.default = async function afterbuild(context) { |
|
|
|
exports.default = async function afterbuild(context) { |
|
|
|
console.log('AFTER BUILD', context); |
|
|
|
console.log('AFTER BUILD', context); |
|
|
|
const child = spawn('zh', ['notarize.sh', 'arg1', 'arg2'], { shell: true }); |
|
|
|
const child = spawn('zsh', ['notarize.sh', 'arg1', 'arg2'], { shell: true }); |
|
|
|
|
|
|
|
|
|
|
|
child.stdout.on('data', (data) => { |
|
|
|
child.stdout.on('data', (data) => { |
|
|
|
console.log(`stdout: ${data}`); |
|
|
|
console.log(`stdout: ${data}`); |
|
|
|