Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
fix(icon): ensure generated icons are always RGBA on Linux to prevent build errors
Tw93e2a151b56067
diff --git a/bin/options/icon.ts b/bin/options/icon.tsindex c9fe6dc5..86db327b 100644--- a/bin/options/icon.ts+++ b/bin/options/icon.ts@@ -96,8 +96,8 @@ async function preprocessIcon(inputPath: string): Promise<string> {create: {width: metadata.width || 512,height: metadata.height || 512,- channels: 3,- background: ICON_CONFIG.whiteBackground,+ channels: 4,+ background: { ...ICON_CONFIG.whiteBackground, alpha: 1 },},}).composite([{ input: inputPath }])@@ -156,6 +156,7 @@ async function convertIconFormat(fit: 'contain',background: ICON_CONFIG.transparentBackground,})+ .ensureAlpha().png().toFile(outputPath);