From ffe17ec2c54fca6967435b8a4ada7fa8d4da7b33 Mon Sep 17 00:00:00 2001 From: Jacob Schlecht Date: Wed, 18 Feb 2026 02:05:56 -0700 Subject: [PATCH] fix: flatpak icons not building correctly and wayland support (#132) This commit was made without the use of generative AI. Signed-off-by: Jacob Schlecht --- forge.config.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/forge.config.ts b/forge.config.ts index 3323356..71c17fe 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -59,7 +59,14 @@ if (!process.env.PLATFORM) { productName: STRINGS.name, productDescription: STRINGS.description, runtimeVersion: "25.08", - icon: `${ASSET_DIR}/icon.png`, + icon: { + "16x16": `${ASSET_DIR}/hicolor/16x16.png`, + "32x32": `${ASSET_DIR}/hicolor/32x32.png`, + "64x64": `${ASSET_DIR}/hicolor/64x64.png`, + "128x128": `${ASSET_DIR}/hicolor/128x128.png`, + "256x256": `${ASSET_DIR}/hicolor/256x256.png`, + "512x512": `${ASSET_DIR}/hicolor/512x512.png`, + } as unknown, categories: ["Network"], modules: [ // use the latest zypak -- Electron sandboxing for Flatpak @@ -77,7 +84,7 @@ if (!process.env.PLATFORM) { finishArgs: [ // default arguments found by running // DEBUG=electron-installer-flatpak* pnpm make - "--socket=x11", + "--socket=fallback-x11", "--share=ipc", "--device=dri", "--socket=pulseaudio",