From 402d82986b61132b173c68029fc09f71723209c6 Mon Sep 17 00:00:00 2001 From: Nikita Kuznetsov Date: Wed, 24 Jan 2024 21:00:58 +0100 Subject: [PATCH] Change Debine Compressor (#28) --- apps/desktop/forge.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/desktop/forge.config.ts b/apps/desktop/forge.config.ts index df61158bf..d5a1d238a 100644 --- a/apps/desktop/forge.config.ts +++ b/apps/desktop/forge.config.ts @@ -11,6 +11,7 @@ import type { NotaryToolCredentials } from '@electron/notarize/lib/types'; import dotenv from 'dotenv'; import path from 'path'; +import { MakerDebConfigOptions } from '@electron-forge/maker-deb/dist/Config'; import { mainConfig } from './webpack.main.config'; import { rendererConfig } from './webpack.renderer.config'; @@ -98,7 +99,7 @@ const config: ForgeConfig = { ), new MakerDeb( { - options: devAndRpmOptions + options: { ...devAndRpmOptions, compression: 'xz' } as MakerDebConfigOptions }, ['linux'] )