mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 13:42:27 -05:00
swap MAS and DMG build order
This commit is contained in:
parent
89193bc6af
commit
53f7c5f577
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ const calculateTargets = function () {
|
|||
// Running 'dmg' and 'mas' in the same pass causes electron-builder to skip signing the non-MAS app copy.
|
||||
// Running them as separate passes means they both get signed.
|
||||
// Seems like a bug in electron-builder...
|
||||
return ['dmg', 'mas'];
|
||||
// Running the 'mas' build first means that its output is available while we wait for 'dmg' notarization.
|
||||
return ['mas', 'dmg'];
|
||||
}
|
||||
throw new Error(`Could not determine targets for platform: ${process.platform}`);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue