web: the page in a browser has magpie's icon in its tab (Discord, ARNO: magpie的web页面没有icon)

index.html named no icon, so `magpie web` showed the browser's blank page icon. It now links icons/favicon.svg, magpie's bird drawn dark, or light when the system is dark, as a tab bar would show it. Checked by rendering it in Chromium in light and dark schemes; go vet, go build -tags nogui (darwin, GOOS=linux, GOOS=windows), go test -tags nogui ./internal/gui/... and mask-emails.test.cjs pass.
This commit is contained in:
yetone
2026-09-30 11:26:32 +08:00
parent 6927bedfcb
commit 4e8cda60ed
2 changed files with 2 additions and 0 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 4.9 KiB

+1
View File
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>magpie</title>
<link rel="icon" href="icons/favicon.svg" type="image/svg+xml">
<script src="boot.js"></script>
<script src="omarchy.js"></script>
<link rel="stylesheet" href="app.css">