mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-09 09:31:15 +10:00
chore: Update generated dev docs (#4736)
This commit is contained in:
@@ -7,6 +7,6 @@ description: ""
|
|||||||
function Invoke-WPFFixesNetwork {
|
function Invoke-WPFFixesNetwork {
|
||||||
netsh winsock reset
|
netsh winsock reset
|
||||||
netsh int ip reset
|
netsh int ip reset
|
||||||
Write-Host "Network Configuration has been Reset Please restart your computer."
|
Write-Host "Network Configuration has been Reset. Please restart your computer."
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -6,13 +6,13 @@ description: ""
|
|||||||
```powershell {filename="functions/private/Invoke-WinUtilInstallPSProfile.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/private/Invoke-WinUtilInstallPSProfile.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WinUtilInstallPSProfile {
|
function Invoke-WinUtilInstallPSProfile {
|
||||||
if (-not (Get-Command wt)) {
|
if (-not (Get-Command wt)) {
|
||||||
Write-Host "Windows Terminal not found installing..."
|
Write-Host "Windows Terminal not found. Installing..."
|
||||||
Install-WinUtilWinget
|
Install-WinUtilWinget
|
||||||
winget install Microsoft.WindowsTerminal --source winget --silent
|
winget install Microsoft.WindowsTerminal --source winget --silent
|
||||||
}
|
}
|
||||||
|
|
||||||
if (-not (Get-Command pwsh)) {
|
if (-not (Get-Command pwsh)) {
|
||||||
Write-Host "Powershell 7 not found installing..."
|
Write-Host "PowerShell 7 not found. Installing..."
|
||||||
Install-WinUtilWinget
|
Install-WinUtilWinget
|
||||||
winget install Microsoft.PowerShell --source winget --silent
|
winget install Microsoft.PowerShell --source winget --silent
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ function Invoke-WPFOOSU {
|
|||||||
|
|
||||||
$ProgressPreference = 'Continue'
|
$ProgressPreference = 'Continue'
|
||||||
} catch {
|
} catch {
|
||||||
Write-Error "Couldn't download O&O ShutUp10. Please make sure you have an active internet connection."
|
Write-Error "Couldn't download O&O ShutUp10. Please make sure you have an active Internet connection."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user