Copy missing locale paks on build

This commit is contained in:
Fedor Indutny 2022-02-04 10:24:49 -08:00 committed by GitHub
parent 891e72a260
commit 65e107fba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 77 additions and 1 deletions

View file

@ -1,11 +1,13 @@
// Copyright 2021 Signal Messenger, LLC
// Copyright 2021-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { AfterPackContext } from 'electron-builder';
import { afterPack as fuseElectron } from './fuse-electron';
import { afterPack as mergeASARs } from './merge-macos-asars';
import { afterPack as copyPacks } from './copy-language-packs';
export async function afterPack(context: AfterPackContext): Promise<void> {
await mergeASARs(context);
await fuseElectron(context);
await copyPacks(context);
}