mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-06-28 21:50:30 -04:00
Merge 659334aff7
into f90055998e
This commit is contained in:
commit
4d0cb4b46d
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,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'}`);
|
||||||
|
// this needs to be built on an arm64 mac, in order for the executable to be able
|
||||||
|
// to run on both x86-64 and arm64 architectures.
|
||||||
|
allArgs.push('--universal');
|
||||||
if (target.name === 'mas-dev') {
|
if (target.name === 'mas-dev') {
|
||||||
allArgs.push(`--c.mac.provisioningProfile=${masDevProfile}`);
|
allArgs.push(`--c.mac.provisioningProfile=${masDevProfile}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue