visually encapsulate proxyswitcher install for readability

This commit is contained in:
Baipyrus 2024-10-21 21:05:57 +02:00
parent 4598bfe8d0
commit 7378dacaa5

View File

@ -156,8 +156,10 @@ Write-Host "Setting up PowerShell profile..." -ForegroundColor Cyan
CopyFileWithPrompt "$dotfilesRepo\PowerShell\Microsoft.PowerShell_profile.ps1" $psProfile CopyFileWithPrompt "$dotfilesRepo\PowerShell\Microsoft.PowerShell_profile.ps1" $psProfile
# Setting up self-made ProxySwitcher # Setting up self-made ProxySwitcher
Write-Host "Setting up ProxySwitcher..." -ForegroundColor Cyan Write-Host "============================================" -ForegroundColor DarkGray
Write-Host "Setting up ProxySwitcher via subscript..." -ForegroundColor Cyan
Invoke-RestMethod 'https://raw.githubusercontent.com/Baipyrus/ProxySwitcher/main/install.ps1' | Invoke-Expression Invoke-RestMethod 'https://raw.githubusercontent.com/Baipyrus/ProxySwitcher/main/install.ps1' | Invoke-Expression
Write-Host "============================================" -ForegroundColor DarkGray
function UnzipAndInstall function UnzipAndInstall
{ {