mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-06-14 14:01:03 -04:00
feat: support universal architecture builds for mac
This commit is contained in:
parent
83c9423dac
commit
444cf9f570
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ const runBuilder = function (wrapperConfig, target) {
|
|||
let allArgs = [platformFlag, target.name];
|
||||
if (target.platform === 'darwin') {
|
||||
allArgs.push(`--c.mac.type=${wrapperConfig.mode === 'dist' ? 'distribution' : 'development'}`);
|
||||
allArgs.push('--universal');
|
||||
if (target.name === 'mas-dev') {
|
||||
allArgs.push(`--c.mac.provisioningProfile=${masDevProfile}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue