fix(desktop): crash on launch + wrong icon (deb)

- productName 'Fabric Desktop' put the app in /opt/Fabric Desktop/;
  the space broke Electron's zygote/chrome-sandbox execvp
  (failed to execvp: /opt/Fabric -> FATAL zygote_host, instant
  crash). productName -> 'Fabric' (/opt/Fabric, no space);
  linux.executableName=fabric-desktop, linux.desktop.Name keeps the
  'Fabric Desktop' label.
- Icon landed in hicolor/0x0/apps (theme ignores it -> generic gear).
  Ship a real build/icons/<NxN>.png set and point linux.icon there;
  deb now installs 16..1024 hicolor sizes.

Verified in the rebuilt .deb: /opt/Fabric/fabric-desktop, hicolor
16x16..1024x1024, no zygote core dump on run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
h z
2026-05-16 11:47:38 +01:00
parent 77b6caab7b
commit f641d42a8b
10 changed files with 8 additions and 2 deletions

BIN
build/icons/1024x1024.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
build/icons/128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
build/icons/16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

BIN
build/icons/24x24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
build/icons/256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
build/icons/32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
build/icons/48x48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
build/icons/512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
build/icons/64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB