Notarize in afterSign step instead of afterPack

This commit is contained in:
Fedor Indutny
2022-02-24 12:24:48 -08:00
committed by GitHub
parent edcd005f5e
commit c11e9350d5
4 changed files with 14 additions and 5 deletions

View File

@@ -6,14 +6,10 @@ 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);
}