feat: 更新版本号至 0.0.2,修复了一些问题并优化了性能

This commit is contained in:
2026-01-14 23:51:58 +07:00
parent 6f9ee87027
commit 31f01852ad
2 changed files with 4 additions and 5 deletions

View File

@@ -24,21 +24,21 @@ interface VersionConfig {
// 版本配置 - 直接在这里管理版本信息
const versionConfig: VersionConfig = {
ios: {
version: "0.0.1",
version: "0.0.2",
forceUpdate: false,
updateMessage: "修复了一些问题并优化了性能",
updateUrl: "https://apps.apple.com/app/id123456789",
minSupportVersion: "0.0.1",
},
android: {
version: "0.0.1",
version: "0.0.2",
forceUpdate: false,
updateMessage: "修复了一些问题并优化了性能",
updateUrl: "https://play.google.com/store/apps/details?id=riwa.ionic.app",
minSupportVersion: "0.0.1",
},
browser: {
version: "0.0.1",
version: "0.0.2",
forceUpdate: false,
updateMessage: "修复了一些问题并优化了性能",
updateUrl: "",
@@ -50,7 +50,6 @@ export const onRequestGet: PagesFunction<Env> = async (context) => {
try {
const { searchParams } = new URL(context.request.url);
const platform = searchParams.get("platform") || "browser";
const currentVersion = searchParams.get("currentVersion") || "0.0.1";
// 验证平台参数
if (!["ios", "android", "browser"].includes(platform)) {

View File

@@ -1,7 +1,7 @@
{
"name": "riwa-ionic",
"type": "module",
"version": "0.0.1",
"version": "0.0.2",
"private": true,
"description": "An Ionic project",
"scripts": {