diff --git a/_toast.ps1 b/_toast.ps1 index 6c5ef192..0701f06e 100644 --- a/_toast.ps1 +++ b/_toast.ps1 @@ -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'