969600b6ee
- assets/icons/ 共 80+ 张真实品牌图标嵌入 UI 包 - entry 新增 IconKey 字段,持久化到 config.Entry.IconName - iconPickerDialog 网格布局图标选择器 - Add 完成后自动弹出图标选择器,Skip 则用 vendor 占位图 - ⋯ 菜单新增 "Change icon..." 项 - vendorIconFor 解析顺序:catalog → vendor 占位 → qr 兜底
UI assets
vendor_icons/
Generated placeholder icons (64×64 PNG) used to identify each authenticator vendor in the entry list. They are intentionally generic — a coloured rounded square with a single white initial — so they carry no third-party trademark.
To use real vendor logos, replace any individual file in place. The
filename is the lookup key (matches authenticator.Authenticator.Name()):
google.pngmicrosoft.pngokta.pnghotp.pngbattlenet.pngsteam.pngqr.png— fallback for entries with an unknown vendor
The recommended size is 64×64 PNG with transparent corners. Files are
embedded at build time via //go:embed in internal/ui/vendor_icons.go.
app_icon.png
A 256×256 placeholder for the application window/tray icon. Gio v0.7 has
no runtime API to set the window icon — for Windows you need to embed a
.ico resource via rsrc or goversioninfo at build time:
go install github.com/akavel/rsrc@latest
rsrc -ico app.ico -o cmd/winauth/rsrc_windows.syso
To regenerate the placeholders, run:
go run ./tools/gen_icons