From 8e590c7f2972231589be983dc0ab9660acc15c10 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 21 Oct 2024 19:53:27 +0200 Subject: [PATCH] removed unused function parameter --- install_windows.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install_windows.ps1 b/install_windows.ps1 index 364bcb5..f105a8c 100644 --- a/install_windows.ps1 +++ b/install_windows.ps1 @@ -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