Fully notarize universal dmg instead of stapling

This commit is contained in:
Fedor Indutny 2022-04-05 17:56:53 -07:00 committed by GitHub
parent b8c1faf086
commit 11d54f6769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 11 deletions

View file

@ -2,11 +2,11 @@
// SPDX-License-Identifier: AGPL-3.0-only
import type { BuildResult } from 'electron-builder';
import { afterAllArtifactBuild as stapleNotarization } from './staple-notarization';
import { afterAllArtifactBuild as notarizeUniversalDMG } from './notarize-universal-dmg';
export async function afterAllArtifactBuild(
result: BuildResult
): Promise<Array<string>> {
await stapleNotarization(result);
await notarizeUniversalDMG(result);
return [];
}