chore: 更新完成提示 toast 文案(Main.py 热重载修复与单实例改造)

This commit is contained in:
TermiNexus committed 2026-10-01 21:16:35 +08:00
1 parent 5a8d29d31a
commit 22d4c0cfab
1 file changed
+2 -2
+2 -2
View File
@@ -3,8 +3,8 @@
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null
$t = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText02)
$n = $t.GetElementsByTagName('text')
$n.Item(0).AppendChild($t.CreateTextNode('林子龙档案已补 + 导入脚本已入库')) | Out-Null
$n.Item(1).AppendChild($t.CreateTextNode('羊村哲学家(林子龙)档案已建;114514 脏值已清;导入脚本入库 tools/ImportEhrmProfiles.py(a3e28011)')) | Out-Null
$n.Item(0).AppendChild($t.CreateTextNode('Main.py 热重载卡死根因已修复 + 单实例改造完成')) | Out-Null
$n.Item(1).AppendChild($t.CreateTextNode('--reload 改为纯通知指令,无实例即退出;watchdog 换成 mtime 轮询(它会把 gevent hub 卡死);80/443 已恢复(5a8d29d3)')) | Out-Null
$toast = [Windows.UI.Notifications.ToastNotification]::new($t)
[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier('TraeCode Agent').Show($toast)
Write-Output 'toast-ok'