mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 15:13:49 +00:00
removed unused function parameter
This commit is contained in:
parent
644908d856
commit
8e590c7f29
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user