fix: simplify update metrics
TallyNote release / linux-x64 (push) Successful in 7m2s

This commit is contained in:
Qiufeng
2026-09-03 21:58:37 +08:00
parent 526b2df8ea
commit 5d02fa5769
2 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "tallynote", "name": "tallynote",
"version": "1.1.23", "version": "1.1.24",
"private": true, "private": true,
"type": "module", "type": "module",
"packageManager": "pnpm@9.0.6", "packageManager": "pnpm@9.0.6",
-10
View File
@@ -690,9 +690,6 @@ export default function UpdatePage({
<div className="tn-metric-content"> <div className="tn-metric-content">
<span className="tn-metric-label">运行目标架构</span> <span className="tn-metric-label">运行目标架构</span>
<div className="tn-metric-value">{info.platform.target}</div> <div className="tn-metric-value">{info.platform.target}</div>
<div className="tn-metric-foot">
<small>{info.platform.os} / {info.platform.arch}</small>
</div>
</div> </div>
</Surface> </Surface>
@@ -702,13 +699,6 @@ export default function UpdatePage({
<div className="tn-metric-value"> <div className="tn-metric-value">
{info.strategy === "systemd" ? "systemd 守护" : "手动源码模式"} {info.strategy === "systemd" ? "systemd 守护" : "手动源码模式"}
</div> </div>
<div className="tn-metric-foot">
<small>
{info.strategy === "systemd"
? (info.configured ? "支持后台一键更新" : "尚未配置发布源")
: "仅支持命令行维护"}
</small>
</div>
</div> </div>
</Surface> </Surface>