mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
16 lines
680 B
TypeScript
16 lines
680 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.node.js';
|
|
import { afterPack as copyPacks } from './copy-language-packs.node.js';
|
|
import { afterPack as pruneMacOSRelease } from './prune-macos-release.node.js';
|
|
import { afterPack as ensureLinuxFilePermissions } from './ensure-linux-file-permissions.node.js';
|
|
|
|
export async function afterPack(context: AfterPackContext): Promise<void> {
|
|
await pruneMacOSRelease(context);
|
|
await fuseElectron(context);
|
|
await copyPacks(context);
|
|
await ensureLinuxFilePermissions(context);
|
|
}
|