From 591db03ee1c45c85fde88745da1bb1070e8f7dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B2=E8=BE=B0=E7=94=9F=E4=BA=A7?= Date: Sun, 19 Apr 2026 21:17:06 +0800 Subject: [PATCH] =?UTF-8?q?v1.2.98=20-=20=E5=88=86=E7=A6=BB=E5=89=8D?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E7=89=88=E6=9C=AC=E6=96=87=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 1 - backend/VERSION | 2 +- frontend/config/VERSION | 2 +- frontend/vite.config.js | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 VERSION diff --git a/VERSION b/VERSION deleted file mode 100644 index 44536a2..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -VERSION=1.2.98 diff --git a/backend/VERSION b/backend/VERSION index 8a27477..dd91a8b 100644 --- a/backend/VERSION +++ b/backend/VERSION @@ -1 +1 @@ -VERSION=1.2.79 +1.2.98 diff --git a/frontend/config/VERSION b/frontend/config/VERSION index 44536a2..dd91a8b 100644 --- a/frontend/config/VERSION +++ b/frontend/config/VERSION @@ -1 +1 @@ -VERSION=1.2.98 +1.2.98 diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 6d12a05..c67b368 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -6,7 +6,7 @@ import { join } from 'path' // 从 config/VERSION 文件读取版本号 function getVersion() { try { - const versionFile = join(__dirname, '..', 'config', 'VERSION') + const versionFile = join(__dirname, 'config', 'VERSION') const content = readFileSync(versionFile, 'utf-8').trim() // 移除 VERSION= 前缀 if (content.startsWith('VERSION=')) {