feat: 更新应用图标为 riwsan.png,并在相关文件中进行相应修改
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<meta name="format-detection" content="telephone=no" />
|
<meta name="format-detection" content="telephone=no" />
|
||||||
<meta name="msapplication-tap-highlight" content="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 -->
|
<!-- add to homescreen for ios -->
|
||||||
<meta name="mobile-web-app-capable" content="yes" />
|
<meta name="mobile-web-app-capable" content="yes" />
|
||||||
|
|||||||
BIN
public/riwsan.png
Normal file
BIN
public/riwsan.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -99,7 +99,7 @@ watch(isInstalled, (installed) => {
|
|||||||
<div class="flex flex-col items-center min-h-full px-6 py-12">
|
<div class="flex flex-col items-center min-h-full px-6 py-12">
|
||||||
<!-- App Logo & Name -->
|
<!-- App Logo & Name -->
|
||||||
<div class="flex flex-col items-center mb-8">
|
<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">
|
<h1 class="text-3xl font-bold mb-2">
|
||||||
{{ appName }}
|
{{ appName }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: "autoUpdate",
|
registerType: "autoUpdate",
|
||||||
injectRegister: "auto",
|
injectRegister: "auto",
|
||||||
includeAssets: ["favicon.svg"],
|
includeAssets: ["riwsan.png"],
|
||||||
devOptions: {
|
devOptions: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
type: "module",
|
type: "module",
|
||||||
@@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
prefer_related_applications: false,
|
prefer_related_applications: false,
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
src: "/favicon.svg",
|
src: "/riwsan.png",
|
||||||
sizes: "any",
|
sizes: "any",
|
||||||
type: "image/svg+xml",
|
type: "image/svg+xml",
|
||||||
purpose: "any maskable",
|
purpose: "any maskable",
|
||||||
|
|||||||
Reference in New Issue
Block a user