feat: 自动化version打包

This commit is contained in:
手瓜一十雪 committed 2025-11-13 18:31:55 +08:00
1 parent 7b65fa581a
commit 5622f5a04a
9 files changed
+439 -2

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
/// <reference types="vite/client" />
declare global {
interface ImportMetaEnv {
readonly VITE_NAPCAT_VERSION: string;
}
}
export {};
+1 -1
View File
@@ -1 +1 @@
export const napCatVersion = '4.9.42';
export const napCatVersion = import.meta.env.VITE_NAPCAT_VERSION || 'alpha';