mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Notarize in afterSign step instead of afterPack
This commit is contained in:
12
ts/scripts/after-sign.ts
Normal file
12
ts/scripts/after-sign.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright 2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { AfterPackContext } from 'electron-builder';
|
||||
import { afterSign as notarize } from './notarize';
|
||||
|
||||
// NOTE: It is AfterPackContext here even though it is afterSign.
|
||||
// See: https://www.electron.build/configuration/configuration.html#aftersign
|
||||
export async function afterSign(context: AfterPackContext): Promise<void> {
|
||||
// This must be the last step
|
||||
await notarize(context);
|
||||
}
|
||||
Reference in New Issue
Block a user