diff --git a/bin/toast.sh b/bin/toast.sh new file mode 100755 index 0000000..997c172 --- /dev/null +++ b/bin/toast.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# must install BurntToast in PowerShell in Windows as Administrator +# Install-Module -Name BurntToast +SCRIPT=" + Import-Module BurntToast ; + New-BurntToastNotification -text '$1', '$2' +" +echo $SCRIPT | powershell.exe -ExecutionPolicy Unrestricted -Command -