I'm developing a desktop app using jetpack compose which uses the windows toast notification feature a lot. I use PowerShell scripts to push the toast notification using BurntToast module. The notification works fine but, every time it gets executed, I see Windows Powershell as the app name and not any custom name.
PowerShell Notification Image:
How do I change the name from Windows PowerShell to my desired name?
# First, create all the component pieces
$AppLogo = New-BTImage -Source 'C:\Demos\img.jpg' -AppLogoOverride -Crop Circle
$HeroImage = New-BTImage -Source 'https://c.tenor.com/XfrqyR_-jzIAAAAC/anime-goku.gif' -HeroImage
$MapImage = New-BTImage -Source 'https://media.giphy.com/media/WW33vGSPHXym7Wh80e/giphy.gif'
$TextHeading = New-BTText -Text 'Lord Shiva'
$TextBody = New-BTText -Text 'The mightiest god there is!'
# Then bind them together
$Binding = New-BTBinding -Children $TextHeading, $TextBody, $MapImage -AppLogoOverride $AppLogo -HeroImage $HeroImage
# And remember that these components are visual, but not actionable
$Visual = New-BTVisual -BindingGeneric $Binding
# Speaking of actionable, we're using actions right?
$GoogleButton = New-BTButton -Content 'Google Maps' -Arguments 'https://www.google.com/maps/SNIP'
$BingButton = New-BTButton -Content 'Bing Maps' -Arguments 'https://www.bing.com/maps?SNIP'
# Don't forget that an action by itself is useless, even a single button needs to become plural
$Actions = New-BTAction -Buttons $GoogleButton, $BingButton
# Now all of the content is together...
$Content = New-BTContent -Visual $Visual -Actions $Actions
# We can submit it to the Operating System
Submit-BTNotification -Content $Content