Add the Arena Tracker logo and its Windows application icon (#16) #26

Merged
nessar merged 1 commits from feat/app-icon into main 2026-11-17 00:09:35 +01:00
Owner

Implements #16.

What changes

  • crates/app/assets/logo.svg: the logo, a gold ring (the Arena seen from above) around a dark disc with a solid gold crown (a top 1), without text.
  • crates/app/assets/icon.ico: the Windows icon derived from it, at 16, 20, 24, 32, 40, 48, 64 and 256 px.
  • crates/app/build.rs and crates/app/assets/app.rc: embed the icon in the executable as icon resource 1, the resource GPUI loads for the window. main.rs is unchanged.
  • crates/app/Cargo.toml: embed-resource as a build dependency. It was already in Cargo.lock through GPUI, so the lockfile gains one line.
  • README.md: an "Icône" section with the ImageMagick command that regenerates the .ico from the logo.

Checked

  • scripts/win build and scripts/win build --release both succeed.
  • Both executables contain icon resource 1 at every size probed (16, 24, 32, 48, 256), and the icon Windows associates with the file is the new one.
  • The release executable, copied to a folder outside the repository and launched from there, shows the icon in its title bar.
  • The ring and the crown stay readable at 16 px on white and dark backgrounds in rendered previews.
  • Core tests pass in WSL (137 tests) and cargo fmt --check is clean.

Not checked yet

  • The taskbar entry has not been looked at: the window carries the icon, but the taskbar itself was not captured.
  • The manual check result is not recorded on #16 yet.

🤖 Generated with Claude Code

Implements #16. ## What changes - `crates/app/assets/logo.svg`: the logo, a gold ring (the Arena seen from above) around a dark disc with a solid gold crown (a top 1), without text. - `crates/app/assets/icon.ico`: the Windows icon derived from it, at 16, 20, 24, 32, 40, 48, 64 and 256 px. - `crates/app/build.rs` and `crates/app/assets/app.rc`: embed the icon in the executable as icon resource 1, the resource GPUI loads for the window. `main.rs` is unchanged. - `crates/app/Cargo.toml`: `embed-resource` as a build dependency. It was already in `Cargo.lock` through GPUI, so the lockfile gains one line. - `README.md`: an "Icône" section with the ImageMagick command that regenerates the `.ico` from the logo. ## Checked - `scripts/win build` and `scripts/win build --release` both succeed. - Both executables contain icon resource 1 at every size probed (16, 24, 32, 48, 256), and the icon Windows associates with the file is the new one. - The release executable, copied to a folder outside the repository and launched from there, shows the icon in its title bar. - The ring and the crown stay readable at 16 px on white and dark backgrounds in rendered previews. - Core tests pass in WSL (137 tests) and `cargo fmt --check` is clean. ## Not checked yet - The taskbar entry has not been looked at: the window carries the icon, but the taskbar itself was not captured. - The manual check result is not recorded on #16 yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
nessar added 1 commit 2026-11-17 00:07:56 +01:00
Add the Arena Tracker logo and embed its Windows application icon
CI / core (pull_request) Successful in 1m10s
CI / core (push) Successful in 1m44s
7c7e667c57
Ticket #16. The logo is a gold ring around a crown: the Arena seen from
above and a top 1, without text. The Windows icon derived from it is
embedded in the executable as icon resource 1 by a build script, which
is the resource GPUI loads for the window: File Explorer, the window and
the taskbar show it with no loose file next to the executable.

embed-resource was already in Cargo.lock as a build dependency of GPUI.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Author
Owner

verified it can /closes #16

verified it can /closes #16
Author
Owner

close #16

close #16
nessar merged commit 7c7e667c57 into main 2026-11-17 00:09:35 +01:00
nessar deleted branch feat/app-icon 2026-11-17 00:09:35 +01:00
Sign in to join this conversation.