mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 23:23:50 +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
|
function UnzipAndInstall
|
||||||
{
|
{
|
||||||
param (
|
param (
|
||||||
[string]$source,
|
[string]$source
|
||||||
[string]$path
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create temporary directory for curl
|
# Create temporary directory for curl
|
||||||
@ -190,7 +189,7 @@ function UnzipAndInstall
|
|||||||
# Installing Nerd Fonts
|
# Installing Nerd Fonts
|
||||||
Write-Host "Installing Nerd Fonts..." -ForegroundColor Cyan
|
Write-Host "Installing Nerd Fonts..." -ForegroundColor Cyan
|
||||||
ProcessUrlFiles -sourceDir "$dotfilesRepo\nerd-fonts" -fileExt ".zip"
|
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
|
# Final message
|
||||||
Write-Host "Windows setup complete!" -ForegroundColor Green
|
Write-Host "Windows setup complete!" -ForegroundColor Green
|
||||||
|
Loading…
Reference in New Issue
Block a user