From 88c11277cf17f6aec6496b5bac02aae962af1ae7 Mon Sep 17 00:00:00 2001 From: hz4th_coder Date: Mon, 1 Jun 2026 15:56:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E4=B8=BA=20v3.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates.py b/templates.py index 87dfc7b..1969579 100644 --- a/templates.py +++ b/templates.py @@ -16,9 +16,12 @@ def get_html_template(): with open(template_file, 'r', encoding='utf-8') as f: template_content = f.read() - # 替换版本号 + # 替换版本号(支持多种格式) template_content = template_content.replace('v2.1', APP_VERSION) template_content = template_content.replace('v3.3.1', APP_VERSION) + template_content = template_content.replace('v3.3.5', APP_VERSION) + template_content = template_content.replace('v3.4.0', APP_VERSION) + template_content = template_content.replace('v3.4.1', APP_VERSION) # 预留未来版本 return template_content except: