mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-06-29 14:10:27 -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
|
/build
|
||||||
/dist
|
/dist
|
||||||
/.opt-in
|
/.opt-in
|
||||||
/embedded.provisionprofile
|
/*.provisionprofile
|
||||||
|
|
||||||
# don't store the assets downloaded with the `fetch` script
|
# don't store the assets downloaded with the `fetch` script
|
||||||
/static/assets/
|
/static/assets/
|
||||||
|
|
|
@ -25,6 +25,9 @@ mas:
|
||||||
entitlements: buildResources/entitlements.mas.plist
|
entitlements: buildResources/entitlements.mas.plist
|
||||||
entitlementsInherit: buildResources/entitlements.mas.inherit.plist
|
entitlementsInherit: buildResources/entitlements.mas.inherit.plist
|
||||||
icon: buildResources/ScratchDesktop.icns
|
icon: buildResources/ScratchDesktop.icns
|
||||||
|
masDev:
|
||||||
|
type: development
|
||||||
|
provisioningProfile: macDeveloperThisDevice.provisionprofile
|
||||||
win:
|
win:
|
||||||
icon: buildResources/ScratchDesktop.ico
|
icon: buildResources/ScratchDesktop.ico
|
||||||
target:
|
target:
|
||||||
|
|
|
@ -83,6 +83,7 @@ const calculateTargets = function () {
|
||||||
// Running them as separate passes means they both get signed.
|
// Running them as separate passes means they both get signed.
|
||||||
// Seems like a bug in electron-builder...
|
// Seems like a bug in electron-builder...
|
||||||
// Running the 'mas' build first means that its output is available while we wait for 'dmg' notarization.
|
// 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'];
|
return ['mas', 'dmg'];
|
||||||
}
|
}
|
||||||
throw new Error(`Could not determine targets for platform: ${process.platform}`);
|
throw new Error(`Could not determine targets for platform: ${process.platform}`);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue