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

13 lines
521 B
TypeScript

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { AfterPackContext } from 'electron-builder';
import { afterPack as fuseElectron } from './fuse-electron.js';
import { afterPack as copyPacks } from './copy-language-packs.js';
import { afterPack as pruneMacOSRelease } from './prune-macos-release.js';
export async function afterPack(context: AfterPackContext): Promise<void> {
await pruneMacOSRelease(context);
await fuseElectron(context);
await copyPacks(context);
}