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';
|
2022-02-23 23:34:51 +00:00
|
|
|
import { afterPack as pruneMacOSRelease } from './prune-macos-release';
|
2021-12-17 17:50:42 +00:00
|
|
|
|
|
|
|
export async function afterPack(context: AfterPackContext): Promise<void> {
|
2022-02-23 23:34:51 +00:00
|
|
|
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
|
|
|
}
|