Skip to content

Commit c54fc62

Browse files
committed
skipped code sign, because we don't have the certificate now.
1 parent 9f017b7 commit c54fc62

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/afterSign.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const {notarize} = require('electron-notarize');
22

33
const notarizeMacBuild = async function (context) {
44
// keep this in sync with appId in the electron-builder config
5-
const appId = 'edu.mit.scratch.scratch-desktop';
5+
const appId = 'jp.smalruby.smalruby3-desktop';
66

77
if (!process.env.AC_USERNAME) {
88
throw new Error(
@@ -34,7 +34,6 @@ const afterSign = async function (context) {
3434
case 'mas': // macOS build for Mac App Store
3535
break;
3636
case 'darwin': // macOS build NOT for Mac App Store
37-
await notarizeMacBuild(context);
3837
break;
3938
}
4039
};

scripts/electron-builder-wrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const calculateTargets = function () {
8282
// Running 'dmg' and 'mas' in the same pass causes electron-builder to skip signing the non-MAS app copy.
8383
// Running them as separate passes means they both get signed.
8484
// Seems like a bug in electron-builder...
85-
return ['dmg', 'mas'];
85+
return ['dmg'];
8686
}
8787
throw new Error(`Could not determine targets for platform: ${process.platform}`);
8888
};

0 commit comments

Comments
 (0)