Skip to content

Commit

Permalink
WinRT reflections
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Jul 5, 2020
1 parent 5178692 commit e58d94d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BurntToast/BurntToast.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if ($WinMajorVersion -ge 10) {
# Register default AppId
New-BTAppId

$null = [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime]
# $null = [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime]
} else {
throw 'This version of BurntToast will only work on Windows 10. If you would like to use BurntToast on Windows 8, please use version 0.4'
}
2 changes: 1 addition & 1 deletion BurntToast/Public/Submit-BTNotification.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
Write-Warning -Message "The AppId $AppId is not present in the registry, please run New-BTAppId to avoid inconsistent Toast behaviour."
}

$null = [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime]
# $null = [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime]

$ToastXml = [Windows.Data.Xml.Dom.XmlDocument]::new()

Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit e58d94d

Please sign in to comment.