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:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 4.9 KiB |
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user