feat: 更新版本号至 0.0.4,替换应用图标为 riwsan.jpg,并优化相关文件
This commit is contained in:
@@ -24,21 +24,21 @@ interface VersionConfig {
|
|||||||
// 版本配置 - 直接在这里管理版本信息
|
// 版本配置 - 直接在这里管理版本信息
|
||||||
const versionConfig: VersionConfig = {
|
const versionConfig: VersionConfig = {
|
||||||
ios: {
|
ios: {
|
||||||
version: "0.0.3",
|
version: "0.0.4",
|
||||||
forceUpdate: false,
|
forceUpdate: false,
|
||||||
updateMessage: "修复了一些问题并优化了性能",
|
updateMessage: "修复了一些问题并优化了性能",
|
||||||
updateUrl: "https://apps.apple.com/app/id123456789",
|
updateUrl: "https://apps.apple.com/app/id123456789",
|
||||||
minSupportVersion: "0.0.1",
|
minSupportVersion: "0.0.1",
|
||||||
},
|
},
|
||||||
android: {
|
android: {
|
||||||
version: "0.0.3",
|
version: "0.0.4",
|
||||||
forceUpdate: false,
|
forceUpdate: false,
|
||||||
updateMessage: "修复了一些问题并优化了性能",
|
updateMessage: "修复了一些问题并优化了性能",
|
||||||
updateUrl: "https://play.google.com/store/apps/details?id=riwa.ionic.app",
|
updateUrl: "https://play.google.com/store/apps/details?id=riwa.ionic.app",
|
||||||
minSupportVersion: "0.0.1",
|
minSupportVersion: "0.0.1",
|
||||||
},
|
},
|
||||||
browser: {
|
browser: {
|
||||||
version: "0.0.3",
|
version: "0.0.4",
|
||||||
forceUpdate: false,
|
forceUpdate: false,
|
||||||
updateMessage: "修复了一些问题并优化了性能",
|
updateMessage: "修复了一些问题并优化了性能",
|
||||||
updateUrl: "",
|
updateUrl: "",
|
||||||
|
|||||||
@@ -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/png" href="/riwsan.png" />
|
<link rel="shortcut icon" type="image/jpeg" href="/riwsan.jpg" />
|
||||||
|
|
||||||
<!-- 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" />
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "riwa-ionic",
|
"name": "riwa-ionic",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "An Ionic project",
|
"description": "An Ionic project",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
BIN
public/riwsan.jpg
Normal file
BIN
public/riwsan.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
Before 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="/riwsan.png" class="w-16 h-16">
|
<img alt="Riwsan 瑞讯" src="/riwsan.jpg" 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>
|
||||||
|
|||||||
@@ -63,15 +63,15 @@ export default defineConfig(({ mode }) => {
|
|||||||
prefer_related_applications: false,
|
prefer_related_applications: false,
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
src: "/riwsan.png",
|
src: "/riwsan.jpg",
|
||||||
sizes: "any",
|
sizes: "any",
|
||||||
type: "image/svg+xml",
|
type: "image/jpeg",
|
||||||
purpose: "any maskable",
|
purpose: "any maskable",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ["**/*.{js,css,html,ico,png,svg,woff2}"],
|
globPatterns: ["**/*.{js,css,html,ico,png,svg,jpg,woff2}"],
|
||||||
navigateFallback: "/index.html",
|
navigateFallback: "/index.html",
|
||||||
navigateFallbackDenylist: [/^\/api/],
|
navigateFallbackDenylist: [/^\/api/],
|
||||||
cleanupOutdatedCaches: true,
|
cleanupOutdatedCaches: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user