mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Added close-chrome.ps1 and close-thunderbird.ps1
This commit is contained in:
@ -1,15 +1,10 @@
|
||||
#!/snap/bin/powershell
|
||||
|
||||
# Syntax: ./close-windows-terminal.ps1
|
||||
# Description: closes the Windows Terminal program gracefully
|
||||
# Description: closes Windows Terminal gracefully
|
||||
# Author: Markus Fleschutz
|
||||
# Source: github.com/fleschutz/PowerShell
|
||||
# License: CC0
|
||||
|
||||
close-program.ps1 "WindowsTerminal"
|
||||
#try {
|
||||
# exit 0
|
||||
#} catch {
|
||||
# write-error "ERROR in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
# exit 1
|
||||
#}
|
||||
$ExitCode = close-program.ps1 "WindowsTerminal"
|
||||
exit $ExitCode
|
||||
|
Reference in New Issue
Block a user