removed unused function parameter

This commit is contained in:
Baipyrus 2024-10-21 19:53:27 +02:00
parent 644908d856
commit 8e590c7f29

View File

@ -162,8 +162,7 @@ Invoke-RestMethod 'https://raw.githubusercontent.com/Baipyrus/ProxySwitcher/main
function UnzipAndInstall
{
param (
[string]$source,
[string]$path
[string]$source
)
# Create temporary directory for curl
@ -190,7 +189,7 @@ function UnzipAndInstall
# Installing Nerd Fonts
Write-Host "Installing Nerd Fonts..." -ForegroundColor Cyan
ProcessUrlFiles -sourceDir "$dotfilesRepo\nerd-fonts" -fileExt ".zip"
UnzipAndInstall -source "$dotfilesRepo\nerd-fonts" -path "$env:TMP\nerd-fonts-config"
UnzipAndInstall -source "$dotfilesRepo\nerd-fonts"
# Final message
Write-Host "Windows setup complete!" -ForegroundColor Green