Rename to open/close-*-app.ps1

This commit is contained in:
Markus Fleschutz
2021-11-21 12:01:30 +01:00
parent 15e055456a
commit 729054f0d4
5 changed files with 22 additions and 19 deletions

View File

@ -4,7 +4,7 @@
.DESCRIPTION
This script closes the calculator application gracefully.
.EXAMPLE
PS> ./close-calculator
PS> ./close-calculator-app
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
@ -13,7 +13,7 @@
TaskKill /im Calculator.exe /f /t
if ($lastExitCode -ne "0") {
& "$PSScriptRoot/speak-english.ps1" "Sorry, can't close calculator"
& "$PSScriptRoot/speak-english.ps1" "Sorry, can't close the calculator application"
exit 1
}
exit 0 # success

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Closes the Netflix application
Closes the Netflix app
.DESCRIPTION
This script closes the Netflix application gracefully.
.EXAMPLE
PS> ./close-netflix
PS> ./close-netflix-app
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Starts the calculator app
Launches the calculator app
.DESCRIPTION
This script launches the calculator application.
.EXAMPLE
PS> ./open-calculator
PS> ./open-calculator-app
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Starts the Netflix app
Launches the Netflix app
.DESCRIPTION
This script launches the Netflix application.
.EXAMPLE
PS> ./open-netflix
PS> ./open-netflix-app
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK