mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 13:42:27 -05:00
override provisioning profile for mas-dev build
This commit is contained in:
parent
b4ce74b002
commit
84f0701f41
1 changed files with 3 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue