Skip to content

Commit

Permalink
Change default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Sep 16, 2020
1 parent f4acfab commit 613c864
Show file tree
Hide file tree
Showing 43 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions BurntToast/BurntToast.psd1
Expand Up @@ -38,9 +38,9 @@
PrivateData = @{
PSData = @{
Tags = @('Notifications', 'Utilities', 'Windows10', 'Toast')
LicenseUri = 'https://github.com/Windos/BurntToast/blob/master/LICENSE'
LicenseUri = 'https://github.com/Windos/BurntToast/blob/main/LICENSE'
ProjectUri = 'https://github.com/Windos/BurntToast'
IconUri = 'https://raw.githubusercontent.com/Windos/BurntToast/master/Media/BurntToast-Logo.png'
IconUri = 'https://raw.githubusercontent.com/Windos/BurntToast/main/Media/BurntToast-Logo.png'
ReleaseNotes = '# 0.8.0
* Fix: Images from UNC path failing (#111)
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/Get-BTHistory.ps1
Expand Up @@ -21,7 +21,7 @@ function Get-BTHistory {
Get-BTHistory
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/Get-BTHistory.md
https://github.com/Windos/BurntToast/blob/main/Help/Get-BTHistory.md
#>

param (
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTAction.ps1
Expand Up @@ -33,7 +33,7 @@
This example creates an action elemnt with both a clickable button and a right click context menu item.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTAction.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTAction.md
#>

[CmdletBinding(DefaultParametersetName = 'Custom Actions',
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTAppId.ps1
Expand Up @@ -27,7 +27,7 @@
This command create an AppId registry key called 'Script Checker.'
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTAppId.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTAppId.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTAudio.ps1
Expand Up @@ -32,7 +32,7 @@
Creates an Audio which will cause a Toast Notification to be silent.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTAudio.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTAudio.md
#>

[CmdletBinding(DefaultParameterSetName = 'StandardSound',
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTBinding.ps1
Expand Up @@ -30,7 +30,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTBinding.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTBinding.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTButton.ps1
Expand Up @@ -44,7 +44,7 @@
This example creates a button with the display text "View Picture" with a picture to the left, which will launch the default picture viewer application and load the picture when clicked.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTButton.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTButton.md
#>

[CmdletBinding(DefaultParametersetName = 'Button',
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTContent.ps1
Expand Up @@ -32,7 +32,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTContent.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTContent.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTContextMenuItem.ps1
Expand Up @@ -23,7 +23,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTContextMenuItem.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTContextMenuItem.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTHeader.ps1
Expand Up @@ -28,7 +28,7 @@
Clicking the header will take the user to the Stack Overflow website.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTHeader.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTHeader.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTImage.ps1
Expand Up @@ -37,7 +37,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTImage.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTImage.md
#>

[CmdletBinding(DefaultParameterSetName = 'Image',
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTInput.ps1
Expand Up @@ -31,7 +31,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTInput.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTInput.md
#>

[CmdletBinding(DefaultParametersetName = 'Text',
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTProgressBar.ps1
Expand Up @@ -45,7 +45,7 @@
This example creates a Toast Notification which will include a progress bar.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTProgressBar.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTProgressBar.md
#>

[CmdletBinding(DefaultParameterSetName = 'Determinate',
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTSelectionBoxItem.ps1
Expand Up @@ -23,7 +23,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTSelectionBoxItem.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTSelectionBoxItem.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTShoulderTapBinding.ps1
Expand Up @@ -17,7 +17,7 @@
New-BTShoulderTapBinding -Image $Image
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTShoulderTapBinding.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTShoulderTapBinding.md
#>

[OutputType([Microsoft.Toolkit.Uwp.Notifications.ToastBindingShoulderTap])]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTShoulderTapImage.ps1
Expand Up @@ -20,7 +20,7 @@
$Image = New-BTShoulderTapImage -Source 'https://www.route66sodas.com/wp-content/uploads/2019/01/Alert.gif'
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTShoulderTapImage.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTShoulderTapImage.md
#>

[CmdletBinding(DefaultParameterSetName = 'Image')]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTShoulderTapPeople.ps1
Expand Up @@ -18,7 +18,7 @@
$Person = New-BTShoulderTapPeople -Email 'bob@example.com'
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTShoulderTapPeople.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTShoulderTapPeople.md
#>

[CmdletBinding(DefaultParameterSetName = 'Email')]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTText.ps1
Expand Up @@ -36,7 +36,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTText.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTText.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BTVisual.ps1
Expand Up @@ -23,7 +23,7 @@
Please see the originating repo here: https://github.com/Microsoft/UWPCommunityToolkit
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BTVisual.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BTVisual.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/New-BurntToastNotification.ps1
Expand Up @@ -64,7 +64,7 @@
* You cannot specify SnoozeAndDismiss and custom buttons at the same time.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BurntToastNotification.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BurntToastNotification.md
#>

[CmdletBinding(DefaultParameterSetName = 'Sound',
Expand Down
6 changes: 3 additions & 3 deletions BurntToast/Public/New-BurntToastShoulderTap.ps1
Expand Up @@ -9,7 +9,7 @@
You can provide a static image or animated GIF, which will be displayed above the specified pinned contact.
You must first pin a contact to the Taskbar using the Windows 10 People app. Next, you can refer to the contact **by its e-mail address** to display a notification.
If a matching contact cannot be found, Windows will fall back to a toast notification. This toast notification will also been seen in the Action Center (with or without a working Shoulder Tap.)
You can optionally call the New-BurntToastShoulderTap function with the ShoulderTap alias.
Expand All @@ -19,7 +19,7 @@
.OUTPUTS
None
New-BurntToastShoulderTap displays the Shoulder Tap that is created.
New-BurntToastShoulderTap displays the Shoulder Tap that is created.
.EXAMPLE
$Image = 'https://i.imgur.com/WKiNp5o.gif'
Expand All @@ -34,7 +34,7 @@
There will be a blog post about this on https://toastit.dev, and also further documented within this module in the next release.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/New-BurntToastShoulderTap.md
https://github.com/Windos/BurntToast/blob/main/Help/New-BurntToastShoulderTap.md
#>

[alias('ShoulderTap')]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/Remove-BTNotification.ps1
Expand Up @@ -23,7 +23,7 @@ function Remove-BTNotification {
Remove-BTNotification -Tag 'UniqueIdentifier'
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/Remove-BTNotification.md
https://github.com/Windos/BurntToast/blob/main/Help/Remove-BTNotification.md
#>

param (
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/Submit-BTNotification.ps1
Expand Up @@ -18,7 +18,7 @@
This command submits the complete toast content object $Toast1, from the New-BTContent function, and tags it with a unique identifier so that it can be replaced/updated.
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/Submit-BTNotification.md
https://github.com/Windos/BurntToast/blob/main/Help/Submit-BTNotification.md
#>

[CmdletBinding(SupportsShouldProcess = $true)]
Expand Down
2 changes: 1 addition & 1 deletion BurntToast/Public/Update-BTNotification.ps1
Expand Up @@ -27,7 +27,7 @@
Update-BTNotification -UniqueIdentifier 'ExampleToast' -DataBinding $SecondDataBinding
.LINK
https://github.com/Windos/BurntToast/blob/master/Help/Update-BTNotification.md
https://github.com/Windos/BurntToast/blob/main/Help/Update-BTNotification.md
#>

[CmdletBinding()]
Expand Down
2 changes: 1 addition & 1 deletion Help/New-BTAction.md
Expand Up @@ -132,4 +132,4 @@ Microsoft.Toolkit.Uwp.Notifications.IToastActions

## RELATED LINKS

[New-BTAction](https://github.com/Windos/BurntToast/blob/master/Help/New-BTAction.md)
[New-BTAction](https://github.com/Windos/BurntToast/blob/main/Help/New-BTAction.md)
2 changes: 1 addition & 1 deletion Help/New-BTAppId.md
Expand Up @@ -68,4 +68,4 @@ None

## RELATED LINKS

[New-BTAction](https://github.com/Windos/BurntToast/blob/master/Help/New-BTAppId.md)
[New-BTAction](https://github.com/Windos/BurntToast/blob/main/Help/New-BTAppId.md)
2 changes: 1 addition & 1 deletion Help/New-BTAudio.md
Expand Up @@ -146,4 +146,4 @@ ToastAudio

## RELATED LINKS

[New-BTAudio](https://github.com/Windos/BurntToast/blob/master/Help/New-BTAudio.md)
[New-BTAudio](https://github.com/Windos/BurntToast/blob/main/Help/New-BTAudio.md)
2 changes: 1 addition & 1 deletion Help/New-BTBinding.md
Expand Up @@ -173,4 +173,4 @@ Please see the Please see the [originating repo](https://github.com/windows-tool

## RELATED LINKS

[New-BTBinding](https://github.com/Windos/BurntToast/blob/master/Help/New-BTBinding.md)
[New-BTBinding](https://github.com/Windos/BurntToast/blob/main/Help/New-BTBinding.md)
2 changes: 1 addition & 1 deletion Help/New-BTButton.md
Expand Up @@ -230,4 +230,4 @@ Microsoft.Toolkit.Uwp.Notifications.ToastButtonSnooze

## RELATED LINKS

[New-BTButton](https://github.com/Windos/BurntToast/blob/master/Help/New-BTButton.md)
[New-BTButton](https://github.com/Windos/BurntToast/blob/main/Help/New-BTButton.md)
2 changes: 1 addition & 1 deletion Help/New-BTContent.md
Expand Up @@ -186,4 +186,4 @@ Please see the Please see the [originating repo](https://github.com/windows-tool

## RELATED LINKS

[New-BTContent](https://github.com/Windos/BurntToast/blob/master/Help/New-BTContent.md)
[New-BTContent](https://github.com/Windos/BurntToast/blob/main/Help/New-BTContent.md)
2 changes: 1 addition & 1 deletion Help/New-BTContextMenuItem.md
Expand Up @@ -91,4 +91,4 @@ Please see the [originating repo](https://github.com/windows-toolkit/WindowsComm

## RELATED LINKS

[New-BTContextMenuItem](https://github.com/Windos/BurntToast/blob/master/Help/New-BTContextMenuItem.md)
[New-BTContextMenuItem](https://github.com/Windos/BurntToast/blob/main/Help/New-BTContextMenuItem.md)
2 changes: 1 addition & 1 deletion Help/New-BTHeader.md
Expand Up @@ -123,4 +123,4 @@ Microsoft.Toolkit.Uwp.Notifications.ToastHeader

## RELATED LINKS

[New-BTHeader](https://github.com/Windos/BurntToast/blob/master/Help/New-BTHeader.md)
[New-BTHeader](https://github.com/Windos/BurntToast/blob/main/Help/New-BTHeader.md)
2 changes: 1 addition & 1 deletion Help/New-BTImage.md
Expand Up @@ -209,4 +209,4 @@ Please see the [originating repo](https://github.com/Microsoft/UWPCommunityToolk

## RELATED LINKS

[New-BTImage](https://github.com/Windos/BurntToast/blob/master/Help/New-BTImage.md)
[New-BTImage](https://github.com/Windos/BurntToast/blob/main/Help/New-BTImage.md)
2 changes: 1 addition & 1 deletion Help/New-BTInput.md
Expand Up @@ -161,4 +161,4 @@ Please see the [originating repo](https://github.com/Microsoft/UWPCommunityToolk

## RELATED LINKS

[New-BTInput](https://github.com/Windos/BurntToast/blob/master/Help/New-BTInput.md)
[New-BTInput](https://github.com/Windos/BurntToast/blob/main/Help/New-BTInput.md)
2 changes: 1 addition & 1 deletion Help/New-BTProgressBar.md
Expand Up @@ -164,4 +164,4 @@ AdaptiveProgressBar

## RELATED LINKS

[New-BTProgressBar](https://github.com/Windos/BurntToast/blob/master/Help/New-BTProgressBar.md)
[New-BTProgressBar](https://github.com/Windos/BurntToast/blob/main/Help/New-BTProgressBar.md)
2 changes: 1 addition & 1 deletion Help/New-BTSelectionBoxItem.md
Expand Up @@ -76,4 +76,4 @@ Please see the [originating repo](https://github.com/Microsoft/UWPCommunityToolk

## RELATED LINKS

[New-BTSelectionBoxItem](https://github.com/Windos/BurntToast/blob/master/Help/New-BTSelectionBoxItem.md)
[New-BTSelectionBoxItem](https://github.com/Windos/BurntToast/blob/main/Help/New-BTSelectionBoxItem.md)
2 changes: 1 addition & 1 deletion Help/New-BTText.md
Expand Up @@ -175,4 +175,4 @@ Please see the [originating repo](https://github.com/Microsoft/UWPCommunityToolk

## RELATED LINKS

[New-BTText](https://github.com/Windos/BurntToast/blob/master/Help/New-BTText.md)
[New-BTText](https://github.com/Windos/BurntToast/blob/main/Help/New-BTText.md)
2 changes: 1 addition & 1 deletion Help/New-BTVisual.md
Expand Up @@ -107,4 +107,4 @@ Please see the [originating repo](https://github.com/Microsoft/UWPCommunityToolk

## RELATED LINKS

[New-BTVisual](https://github.com/Windos/BurntToast/blob/master/Help/New-BTVisual.md)
[New-BTVisual](https://github.com/Windos/BurntToast/blob/main/Help/New-BTVisual.md)
2 changes: 1 addition & 1 deletion Help/New-BurntToastNotification.md
Expand Up @@ -309,4 +309,4 @@ I'm *really* sorry about the number of Parameter Sets. The best explanation is:

## RELATED LINKS

[New-BurntToastNotification](https://github.com/Windos/BurntToast/blob/master/Help/New-BurntToastNotification.md)
[New-BurntToastNotification](https://github.com/Windos/BurntToast/blob/main/Help/New-BurntToastNotification.md)
2 changes: 1 addition & 1 deletion Help/New-BurntToastShoulderTap.md
Expand Up @@ -227,4 +227,4 @@ If not, fails back to a standard Burnt Toast notification

## RELATED LINKS

[New-BurntToastShoulderTap](https://github.com/Windos/BurntToast/blob/master/Help/New-BurntToastShoulderTap.md)
[New-BurntToastShoulderTap](https://github.com/Windos/BurntToast/blob/main/Help/New-BurntToastShoulderTap.md)
2 changes: 1 addition & 1 deletion Help/Submit-BTNotification.md
Expand Up @@ -106,4 +106,4 @@ None

## RELATED LINKS

[Submit-BTNotification](https://github.com/Windos/BurntToast/blob/master/Help/Submit-BTNotification.md)
[Submit-BTNotification](https://github.com/Windos/BurntToast/blob/main/Help/Submit-BTNotification.md)
4 changes: 2 additions & 2 deletions README.md
@@ -1,8 +1,8 @@
# BurntToast

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/828836a2a70b4c998de8127fd2150fbc)](https://www.codacy.com/app/Windos/BurntToast?utm_source=github.com&utm_medium=referral&utm_content=Windos/BurntToast&utm_campaign=Badge_Grade)
[![codecov](https://codecov.io/gh/Windos/BurntToast/branch/master/graph/badge.svg)](https://codecov.io/gh/Windos/BurntToast)
[![Build Status](https://dev.azure.com/windosnz/BurntToast/_apis/build/status/Windos.BurntToast-Build?branchName=master)](https://dev.azure.com/windosnz/BurntToast/_build/latest?definitionId=2&branchName=master)
[![codecov](https://codecov.io/gh/Windos/BurntToast/branch/main/graph/badge.svg)](https://codecov.io/gh/Windos/BurntToast)
[![Build Status](https://dev.azure.com/windosnz/BurntToast/_apis/build/status/Windos.BurntToast-Build?branchName=main)](https://dev.azure.com/windosnz/BurntToast/_build/latest?definitionId=2&branchName=main)
[![PowerShell Gallery Version](https://img.shields.io/powershellgallery/v/BurntToast.svg)](https://www.powershellgallery.com/packages/BurntToast)
[![PowerShell Gallery Downloads](https://img.shields.io/powershellgallery/dt/BurntToast.svg)](https://www.powershellgallery.com/packages/BurntToast)
[![Open Issues](https://img.shields.io/github/issues-raw/Windos/BurntToast.svg)](https://github.com/Windos/BurntToast/issues)
Expand Down
4 changes: 2 additions & 2 deletions Tests/BurntToast.Tests.ps1
Expand Up @@ -306,15 +306,15 @@ Describe 'New-BTImage' {
Context 'web based image' {
Start-Transcript tmp.log
try {
New-BTImage -Source https://raw.githubusercontent.com/Windos/BurntToast/master/Media/BurntToast.png -WhatIf
New-BTImage -Source https://raw.githubusercontent.com/Windos/BurntToast/main/Media/BurntToast.png -WhatIf
}
finally {
Stop-Transcript
$Log = (Get-Content tmp.log).Where({ $_ -match "What if: " })
Remove-Item tmp.log
}
It 'has consitent WhatIf response' {
$Expected = "What if: Performing the operation ""New-BTImage"" on target ""returning: [AdaptiveImage]:Source=$($env:TEMP)\https---raw.githubusercontent.com-Windos-BurntToast-master-Media-BurntToast.png:AlternateText=:HintCrop=Default:HintRemoveMargin=False:HintAlign=Default:AddImageQuery=""."
$Expected = "What if: Performing the operation ""New-BTImage"" on target ""returning: [AdaptiveImage]:Source=$($env:TEMP)\https---raw.githubusercontent.com-Windos-BurntToast-main-Media-BurntToast.png:AlternateText=:HintCrop=Default:HintRemoveMargin=False:HintAlign=Default:AddImageQuery=""."
$Log | Should -Be $Expected
}
}
Expand Down

0 comments on commit 613c864

Please sign in to comment.