fix: simplify update metrics
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tallynote",
|
||||
"version": "1.1.23",
|
||||
"version": "1.1.24",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.0.6",
|
||||
|
||||
@@ -690,9 +690,6 @@ export default function UpdatePage({
|
||||
<div className="tn-metric-content">
|
||||
<span className="tn-metric-label">运行目标架构</span>
|
||||
<div className="tn-metric-value">{info.platform.target}</div>
|
||||
<div className="tn-metric-foot">
|
||||
<small>{info.platform.os} / {info.platform.arch}</small>
|
||||
</div>
|
||||
</div>
|
||||
</Surface>
|
||||
|
||||
@@ -702,13 +699,6 @@ export default function UpdatePage({
|
||||
<div className="tn-metric-value">
|
||||
{info.strategy === "systemd" ? "systemd 守护" : "手动源码模式"}
|
||||
</div>
|
||||
<div className="tn-metric-foot">
|
||||
<small>
|
||||
{info.strategy === "systemd"
|
||||
? (info.configured ? "支持后台一键更新" : "尚未配置发布源")
|
||||
: "仅支持命令行维护"}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</Surface>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user