mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05: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';
|
||||
|
||||
if (!process.env.AC_USERNAME) {
|
||||
throw new Error(
|
||||
'Notarizing the macOS build requires an Apple ID.\n' +
|
||||
'Please set the environment variable AC_USERNAME.\n' +
|
||||
'Make sure your keychain has an item for "Application Loader: your@apple.id"'
|
||||
);
|
||||
console.error([
|
||||
'Notarizing the macOS build requires an Apple ID.',
|
||||
'Please set the environment variable AC_USERNAME.',
|
||||
'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;
|
||||
|
|
Loading…
Reference in a new issue