mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-09 06:01:57 -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];
|
let allArgs = [platformFlag, target.name];
|
||||||
if (target.platform === 'darwin') {
|
if (target.platform === 'darwin') {
|
||||||
allArgs.push(`--c.mac.type=${wrapperConfig.mode === 'dist' ? 'distribution' : 'development'}`);
|
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) {
|
if (wrapperConfig.doSign) {
|
||||||
// really this is "notarize only if we also sign"
|
// really this is "notarize only if we also sign"
|
||||||
allArgs.push('--c.afterSign=scripts/afterSign.js');
|
allArgs.push('--c.afterSign=scripts/afterSign.js');
|
||||||
|
|
Loading…
Reference in a new issue