Fuse electron at build time
This commit is contained in:
parent
770c80b9ee
commit
9e9e5274cf
6 changed files with 74 additions and 33 deletions
11
ts/scripts/after-pack.ts
Normal file
11
ts/scripts/after-pack.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
// 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';
|
||||
import { afterPack as mergeASARs } from './merge-macos-asars';
|
||||
|
||||
export async function afterPack(context: AfterPackContext): Promise<void> {
|
||||
await mergeASARs(context);
|
||||
await fuseElectron(context);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue