From c52e85b984bffc78125aff744513bc5d33ad72b3 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Tue, 25 Aug 2026 13:05:18 +0200 Subject: feat(client): add app icon based on the MeshBay logo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds build/icon.png (1024x1024, cropped/upscaled from QE/meshbay-logo-v2.jpg) at electron-builder's default buildResources path, so packaged .deb/.rpm builds get a real icon instead of Electron's stock one. The generic `build/` gitignore rule (Python artifacts) was swallowing this legitimate source directory, so it gets an explicit exception. BrowserWindow now points at the same file for its own icon, and the process runs with --class=MeshBay so a dev run's WM_CLASS matches the StartupWMClass electron-builder derives from productName for the packaged app — kept consistent, even though the launcher/dash icon match itself only resolves once a .desktop file exists (i.e. after packaging, not in dev). --- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index b22c619..52897da 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,9 @@ poc/bob_state.json poc/testfile.bin packages/meshbay-client/ui/ packages/meshbay-client/node_modules/ + +# electron-builder's buildResources dir — a real source (app icon), not a +# build artifact, despite living under a path the generic `build/` rule above +# would otherwise swallow. +!packages/meshbay-client/build/ +!packages/meshbay-client/build/** -- cgit v1.2.3