signal-desktop/ts/scripts/after-pack.ts

14 lines
512 B
TypeScript
Raw Normal View History

2023-01-03 19:55:46 +00:00
// Copyright 2021 Signal Messenger, LLC
2021-12-17 17:50:42 +00:00
// SPDX-License-Identifier: AGPL-3.0-only
import type { AfterPackContext } from 'electron-builder';
import { afterPack as fuseElectron } from './fuse-electron';
2022-02-04 18:24:49 +00:00
import { afterPack as copyPacks } from './copy-language-packs';
import { afterPack as pruneMacOSRelease } from './prune-macos-release';
2021-12-17 17:50:42 +00:00
export async function afterPack(context: AfterPackContext): Promise<void> {
await pruneMacOSRelease(context);
2021-12-17 17:50:42 +00:00
await fuseElectron(context);
2022-02-04 18:24:49 +00:00
await copyPacks(context);
2021-12-17 17:50:42 +00:00
}