Skip to content

Commit 38ad473

Browse files
committed
tpm: 移除更新结束摘要中的 tpm update -f 提示
1 parent 7a756b7 commit 38ad473

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/plugin/tpm.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ export async function updateAllPlugins(
15041504
return { failedCount: 0, statusPeerId: skipPeerId, statusMsgId: skipMsgId };
15051505
}
15061506

1507-
const finalText = `✅ 更新完成 (成功${updatedCount}个, 跳过${skipCount}个, 失败${failedCount}个)${skipCount > 0 ? `\n💡 跳过含本地已修改的插件,强制覆盖: <code>${mainPrefix}tpm update -f</code>` : ""}`;
1507+
const finalText = `✅ 更新完成 (成功${updatedCount}个, 跳过${skipCount}个, 失败${failedCount}个)`;
15081508
const statusPeerId =
15091509
statusMsg.chatId != null ? String(statusMsg.chatId) : statusMsg.peerId;
15101510
const statusMsgId = statusMsg.id;

0 commit comments

Comments
 (0)