fix this
This commit is contained in:
parent
dd32938799
commit
479e2024ba
2 changed files with 5 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -318,3 +318,4 @@ keys.sh
|
||||||
|
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
resources/b64.txt
|
||||||
|
|
|
@ -4,7 +4,8 @@ exports.default = function(context) {
|
||||||
|
|
||||||
if (process.platform !== 'darwin')
|
if (process.platform !== 'darwin')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
fs.unlinkSync(context.appOutDir + '/Cider.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/Electron Framework.sig')
|
||||||
console.log('Castlabs-evs update start')
|
console.log('Castlabs-evs update start')
|
||||||
execSync('python3 -m pip install --upgrade castlabs-evs')
|
execSync('python3 -m pip install --upgrade castlabs-evs')
|
||||||
console.log('Castlabs-evs update complete')
|
console.log('Castlabs-evs update complete')
|
||||||
|
@ -12,6 +13,8 @@ exports.default = function(context) {
|
||||||
|
|
||||||
|
|
||||||
console.log('VMP signing start')
|
console.log('VMP signing start')
|
||||||
|
if (fs.existsSync('dist/mac-universal'))
|
||||||
|
execSync('python3 -m castlabs_evs.vmp -n sign-pkg dist/mac-universal',{stdio: 'inherit'})
|
||||||
if (fs.existsSync('dist/mac'))
|
if (fs.existsSync('dist/mac'))
|
||||||
execSync('python3 -m castlabs_evs.vmp -n sign-pkg dist/mac',{stdio: 'inherit'})
|
execSync('python3 -m castlabs_evs.vmp -n sign-pkg dist/mac',{stdio: 'inherit'})
|
||||||
if (fs.existsSync('dist/mac-arm64'))
|
if (fs.existsSync('dist/mac-arm64'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue