feat: 更新应用图标为 riwsan.png,并在相关文件中进行相应修改

This commit is contained in:
2026-01-15 05:50:01 +07:00
parent fb8f4ca52b
commit b1c57cd62e
4 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<link rel="shortcut icon" type="image/svg" href="/favicon.svg" />
<link rel="shortcut icon" type="image/svg" href="/riwsan.png" />
<!-- add to homescreen for ios -->
<meta name="mobile-web-app-capable" content="yes" />

BIN
public/riwsan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -99,7 +99,7 @@ watch(isInstalled, (installed) => {
<div class="flex flex-col items-center min-h-full px-6 py-12">
<!-- App Logo & Name -->
<div class="flex flex-col items-center mb-8">
<img alt="Riwsan 瑞讯" src="/favicon.svg" class="w-16 h-16">
<img alt="Riwsan 瑞讯" src="/riwsan.png" class="w-16 h-16">
<h1 class="text-3xl font-bold mb-2">
{{ appName }}
</h1>

View File

@@ -44,7 +44,7 @@ export default defineConfig(({ mode }) => {
VitePWA({
registerType: "autoUpdate",
injectRegister: "auto",
includeAssets: ["favicon.svg"],
includeAssets: ["riwsan.png"],
devOptions: {
enabled: true,
type: "module",
@@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => {
prefer_related_applications: false,
icons: [
{
src: "/favicon.svg",
src: "/riwsan.png",
sizes: "any",
type: "image/svg+xml",
purpose: "any maskable",