Compare commits

...

1 Commits

Author SHA1 Message Date
f641d42a8b 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>
2026-05-16 11:47:38 +01:00
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

View File

@@ -24,7 +24,7 @@
},
"build": {
"appId": "ai.hangman.fabric.desktop",
"productName": "Fabric Desktop",
"productName": "Fabric",
"artifactName": "Fabric-Desktop-${version}-${os}-${arch}.${ext}",
"directories": {
"output": "dist"
@@ -45,7 +45,13 @@
"tar.gz"
],
"category": "Utility",
"maintainer": "Hangman <noreply@hangman-lab.top>"
"maintainer": "Hangman <noreply@hangman-lab.top>",
"executableName": "fabric-desktop",
"icon": "build/icons",
"desktop": {
"Name": "Fabric Desktop",
"StartupWMClass": "Fabric Desktop"
}
},
"mac": {
"target": [