override provisioning profile for mas-dev build

This commit is contained in:
Christopher Willis-Ford 2020-07-23 11:28:59 -07:00
parent b4ce74b002
commit 84f0701f41

View file

@ -57,6 +57,9 @@ const runBuilder = function (wrapperConfig, target) {
let allArgs = [platformFlag, target.name];
if (target.platform === 'darwin') {
allArgs.push(`--c.mac.type=${wrapperConfig.mode === 'dist' ? 'distribution' : 'development'}`);
if (target.name === 'mas-dev') {
allArgs.push('--c.mac.provisioningProfile=mas-dev.provisionprofile');
}
if (wrapperConfig.doSign) {
// really this is "notarize only if we also sign"
allArgs.push('--c.afterSign=scripts/afterSign.js');