app: give the app one icon for the executable, windows and tray

Windows showed the default executable icon, and the tray drew a plain "T" at
run time. A usage gauge in the provider colours now serves all three (D8).
tools/icon/make_icon.py renders it with Pillow, a development-only
dependency, into a multi-size ICO for Windows and a PNG for X11. Its test
checks every size and that a fresh run reproduces the committed files.

Refs #17
This commit is contained in:
Florian Schmidt
2026-11-04 19:35:17 +01:00
parent be9951f9ef
commit 52b67a6d1b
10 changed files with 119 additions and 8 deletions
+1
View File
@@ -29,6 +29,7 @@ public sealed class PanelWindow : Window
{
this.model = model;
this.clock = clock ?? TimeProvider.System;
Icon = AppIcon.Load();
Title = $"FinalToken {typeof(Program).Assembly.GetName().Version?.ToString(3)}";
Width = 1280; Height = 900; MinWidth = 960; MinHeight = 500; Ui.Theme(this);
var brand = new StackPanel { Orientation = Orientation.Horizontal, Spacing = 8, VerticalAlignment = VerticalAlignment.Center };