feat: 自动化version打包
This commit is contained in:
1 parent
7b65fa581a
commit
5622f5a04a
9 files changed
+439
-2
No files matched your search
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
declare global {
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_NAPCAT_VERSION: string;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
@@ -1 +1 @@
|
||||
export const napCatVersion = '4.9.42';
|
||||
export const napCatVersion = import.meta.env.VITE_NAPCAT_VERSION || 'alpha';
|
||||
Reference in new issue
Block a user