mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-16 17:51:28 +01:00
Updated some scripts
This commit is contained in:
parent
0024a140bd
commit
ed34d94da4
@ -24,8 +24,10 @@ try {
|
||||
Write-Host $text -noNewline
|
||||
Write-Host $URL -foregroundColor blue
|
||||
}
|
||||
Start-Process $URL
|
||||
|
||||
if ($IsLinux) {
|
||||
} else {
|
||||
Start-Process $URL
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))"
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
try {
|
||||
""
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "OK - DON'T PANIC - HELP IS ON THE WAY..." 150
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "DON'T PANIC - HELP IS ON THE WAY..." 170
|
||||
""
|
||||
& "$PSScriptRoot/open-URL.ps1" -text "1. See the official PowerShell documentation at: " "https://docs.microsoft.com/en-us/powershell"
|
||||
Start-Sleep -milliseconds 50
|
||||
@ -31,4 +31,4 @@ try {
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user