🔧 处理本地打包版本

This commit is contained in:
BTMuli
2025-12-30 00:14:21 +08:00
parent 780181019c
commit e865c80c74

View File

@@ -14,7 +14,7 @@ import pkgJson from "./package.json" with { type: "json" };
import buildTimePlugin from "./src/utils/TGBuild.js";
const host = process.env.TAURI_DEV_HOST;
const commitHash = (process.env.APP_VERSION || "").slice(0, 7);
const commitHash = (process.env.APP_VERSION || "test").slice(0, 7);
// https://vitejs.dev/config/
export default defineConfig({