diff --git a/_toast.ps1 b/_toast.ps1 index acd1302a..94e8f02a 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('工作组员工(角色数:x/用户数:y)已上线,样例 2/2;GERP 741d309,前端已部署,请 Ctrl+F5 强刷')) | Out-Null +$n.Item(0).AppendChild($t.CreateTextNode('银河锋锐缺 eHRM 档案名单已列出')) | Out-Null +$n.Item(1).AppendChild($t.CreateTextNode('22 名员工中 6 人无档案:Markstollr8651、紫气东来、剑来、Chndos、梦子、舒服了(测试部/美工部/工程部)')) | Out-Null $toast = [Windows.UI.Notifications.ToastNotification]::new($t) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier('TraeCode Agent').Show($toast) Write-Output 'toast-ok'