feat: support download statistics

close #15
This commit is contained in:
Elysia
2026-02-14 23:11:43 +08:00
parent c4ffc880e4
commit 5ac9376200
9 changed files with 99 additions and 45 deletions

View File

@@ -4,6 +4,9 @@ import type { App } from "./typedefinition";
export const APM_STORE_BASE_URL: string =
import.meta.env.VITE_APM_STORE_BASE_URL || "";
export const APM_STORE_STATS_BASE_URL: string =
import.meta.env.VITE_APM_STORE_STATS_BASE_URL || "";
// 下面的变量用于存储当前应用的信息,其实用在多个组件中
export const currentApp = ref<App | null>(null);
export const currentAppIsInstalled = ref(false);