Run notarization in afterPack script

This commit is contained in:
Fedor Indutny 2022-02-24 11:39:26 -08:00 committed by GitHub
parent eebd252b81
commit 5e113f8975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 91 deletions

View file

@ -6,10 +6,14 @@ import { afterPack as fuseElectron } from './fuse-electron';
import { afterPack as mergeASARs } from './merge-macos-asars';
import { afterPack as copyPacks } from './copy-language-packs';
import { afterPack as pruneMacOSRelease } from './prune-macos-release';
import { afterPack as notarize } from './notarize';
export async function afterPack(context: AfterPackContext): Promise<void> {
await pruneMacOSRelease(context);
await mergeASARs(context);
await fuseElectron(context);
await copyPacks(context);
// This must be the last step
await notarize(context);
}