mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-06-13 13:31:02 -04:00
add settings for mas-dev build
This commit is contained in:
parent
229c42469d
commit
3cdcb199bd
3 changed files with 5 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -17,7 +17,7 @@ npm-*
|
|||
/build
|
||||
/dist
|
||||
/.opt-in
|
||||
/embedded.provisionprofile
|
||||
/*.provisionprofile
|
||||
|
||||
# don't store the assets downloaded with the `fetch` script
|
||||
/static/assets/
|
||||
|
|
|
@ -25,6 +25,9 @@ mas:
|
|||
entitlements: buildResources/entitlements.mas.plist
|
||||
entitlementsInherit: buildResources/entitlements.mas.inherit.plist
|
||||
icon: buildResources/ScratchDesktop.icns
|
||||
masDev:
|
||||
type: development
|
||||
provisioningProfile: macDeveloperThisDevice.provisionprofile
|
||||
win:
|
||||
icon: buildResources/ScratchDesktop.ico
|
||||
target:
|
||||
|
|
|
@ -83,6 +83,7 @@ const calculateTargets = function () {
|
|||
// Running them as separate passes means they both get signed.
|
||||
// Seems like a bug in electron-builder...
|
||||
// Running the 'mas' build first means that its output is available while we wait for 'dmg' notarization.
|
||||
// Add 'mas-dev' here to test a 'mas'-like build locally. You'll need a Mac Developer provisioning profile.
|
||||
return ['mas', 'dmg'];
|
||||
}
|
||||
throw new Error(`Could not determine targets for platform: ${process.platform}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue