Commit Graph

12 Commits

Author SHA1 Message Date
97c4e7ad96 feat(desktop): self-contained — bundle the frontend
- build:renderer builds Fabric.Frontend with relative base and copies
  the static bundle into renderer/; dist/pack scripts run it first.
- main.js: production loads renderer/index.html when present (falls
  back to offline.html); packaged app no longer needs a separate
  frontend server (still talks to Center/Guild backends, which the
  login screen points at — file:// origin is CORS-allowed).
- package files += renderer/**; gitignore renderer/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 12:11:43 +01:00
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
77b6caab7b fix(brand): bolder strokes for app/tray icons
Match the frontend: thicker (dilated) strokes, deeper green
#1DB800, regenerated window/app + tray PNGs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 11:21:39 +01:00
4473aa1b8b feat(brand): deeper green app/tray icons (#1DB800)
Regenerate window/app (assets/icon.png, build/icon.png) and tray
(tray.png/@2x) with the deeper, fully-saturated green + emboldened
strokes to match the frontend favicon. (Electron uses raster icons;
no SVG.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 11:16:58 +01:00
5c4770f051 fix(brand): transparent bg + tight crop for app/tray icons
Same treatment as the favicon: transparent background and tight
square crop so the window, app and tray icons fill their frames
instead of a tiny mark on a black box.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 11:10:58 +01:00
8952b9d3ed feat(brand): use no-text mark for window/app icon
Switch BrowserWindow + electron-builder icon to the no-text mark
(tray was already the no-text mark). Wordmark dropped from app-icon
contexts where it doesn't read small.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 11:07:34 +01:00
ca51ba7063 feat(brand): apply Fabric app + tray icons
- assets/icon.png (512) -> BrowserWindow icon; build/icon.png (1024)
  for electron-builder (linux uses it directly, mac/win generated from
  it); package.json build.files += assets/**, build.icon set.
- Tray: replace the placeholder base64 data-URL with the designed
  no-text tray icon (assets/tray.png 22 + tray@2x.png 44) via
  nativeImage.createFromPath.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 11:04:55 +01:00
nav
1476ff7bb4 chore(desktop): set maintainer email for deb packaging 2026-05-13 07:17:04 +00:00
nav
54f4b46755 feat(desktop): add tray behavior and packaging config 2026-05-13 06:57:27 +00:00
nav
5843d3f8ca feat(desktop): add secure electron shell with preload ipc and menu 2026-05-12 16:13:05 +00:00
root
292d8c27f2 feat: bootstrap Electron desktop shell for Fabric frontend 2026-05-12 13:09:45 +00:00
nav
395385c9aa chore: initialize repository 2026-05-08 14:25:53 +00:00