Brand Assets
Brand Assets
Feature F009 — required by project-spec.md §15.
| File | Purpose | Consumed by |
|---|---|---|
WMB_Logo.png |
Application header logo (spec §6.1) | Renderer TopBar header (spec §14 header logo + git status strip) |
icon.ico |
Electron window / taskbar icon and NSIS installer icon | Main createShellWindow + package.json > build.win.icon |
README.md |
This inventory | Contributors / asset audits |
Regeneration
The placeholder WxManBran monogram (brand-navy background with a stylized white W)
is generated deterministically by scripts/generate-assets.mjs. Re-run after design
changes:
node scripts/generate-assets.mjs
This rewrites both WMB_Logo.png (RGB PNG, 128×128) and icon.ico (Vista-format
ICO wrapping the PNG as the 128×128 entry).
Vite delivery
vite.config.ts pins publicDir: 'assets' so the renderer build copies
WMB_Logo.png (and the other files in this directory) to dist/renderer/ at the
URL root. The main process still reads icon.ico directly from this folder via
fs.existsSync(join(appRoot, 'assets', 'icon.ico')) inside
src/main/window/createMainWindow.ts, and package.json > build.win.icon points
NSIS at the same path for the installer.