mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-08-28 22:19:55 -04:00
allow non-notarized mac build for testing
Skipping notarization isn't strictly wrong, but needs a big warning since the build probably won't run on Catalina.
This commit is contained in:
parent
73a2d3e015
commit
1bc9f570cd
1 changed files with 7 additions and 5 deletions
|
@ -5,11 +5,13 @@ const notarizeMacBuild = async function (context) {
|
||||||
const appId = 'edu.mit.scratch.scratch-desktop';
|
const appId = 'edu.mit.scratch.scratch-desktop';
|
||||||
|
|
||||||
if (!process.env.AC_USERNAME) {
|
if (!process.env.AC_USERNAME) {
|
||||||
throw new Error(
|
console.error([
|
||||||
'Notarizing the macOS build requires an Apple ID.\n' +
|
'Notarizing the macOS build requires an Apple ID.',
|
||||||
'Please set the environment variable AC_USERNAME.\n' +
|
'Please set the environment variable AC_USERNAME.',
|
||||||
'Make sure your keychain has an item for "Application Loader: your@apple.id"'
|
'Make sure your keychain has an item for "Application Loader: your@apple.id"',
|
||||||
);
|
'This build will not run on newer versions of macOS!'
|
||||||
|
].join('\n'));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const appleId = process.env.AC_USERNAME;
|
const appleId = process.env.AC_USERNAME;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue