File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1710,7 +1710,7 @@ def get_default_notification_command(self):
17101710 # PowerShell toast notification
17111711 return (
17121712 "powershell -command"
1713- f" \ " try {{ Add-Type -AssemblyName System.Runtime.WindowsRuntime; $null = [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] }} catch {{}}; "
1713+ f' "try {{ Add-Type -AssemblyName System.Runtime.WindowsRuntime; $null = [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] }} catch {{}}; '
17141714 f"$template = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText02); "
17151715 f"$toastXml = $template.GetXml(); "
17161716 f"$toastXml.GetElementsByTagName('text')[0].AppendChild($template.CreateTextNode('cecli')) > $null; "
You can’t perform that action at this time.
0 commit comments