mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-08-06 19:29:28 -04:00
fix code signing step for non-Store macOS build
This commit is contained in:
parent
9c9d7c6979
commit
ccaca91bea
1 changed files with 4 additions and 2 deletions
|
@ -69,8 +69,10 @@ const calculateTargets = function () {
|
|||
// run in two passes so we can skip signing the appx
|
||||
return ['nsis', 'appx'];
|
||||
case 'darwin':
|
||||
// run in one pass for slightly better speed
|
||||
return ['dmg mas'];
|
||||
// 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'];
|
||||
}
|
||||
throw new Error(`Could not determine targets for platform: ${process.platform}`);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue