From d72f8416c679af1b75cab3b40ea5bcb0c63e5b5f Mon Sep 17 00:00:00 2001 From: Kurtis Date: Wed, 29 Oct 2025 00:44:51 +1000 Subject: [PATCH] Update fixed syntax error with write-host commands --- vargscript.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vargscript.ps1 b/vargscript.ps1 index 9b35d68..796f172 100644 --- a/vargscript.ps1 +++ b/vargscript.ps1 @@ -6,7 +6,7 @@ If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti } function Install-Zen { - Write-Head "Installing Zen" + Write-Host "Installing Zen" winget install Zen-Team.Zen-Browser } @@ -25,7 +25,7 @@ function Config-Zen { } function Install-FlowLauncher { - Write-Head "Installing Flow Launcher" + Write-Host "Installing Flow Launcher" winget install Flow-Launcher.Flow-Launcher } @@ -43,25 +43,25 @@ function Config-FlowLauncher { } function Install-NextCloud { - Write-Head "Installing Nextcloud" + Write-Host "Installing Nextcloud" winget install Nextcloud.NextcloudDesktop } function Install-SteamLink { - Write-Head "Installing Steamlink" + Write-Host "Installing Steamlink" winget install Valve.SteamLink } function Install-Clink { - Write-Head "Installing Clink" + Write-Host "Installing Clink" winget install chrisant996.Clink } function Install-Starship { - Write-Head "running Nerdfont installer" + Write-Host "running Nerdfont installer" & ([scriptblock]::Create((iwr 'https://to.loredo.me/Install-NerdFont.ps1'))) winget install Starship.Starship - Write-Head "Configuring CMD" + Write-Host "Configuring CMD" $folderPath = "$ENV:APPDATALOCAL\clink" if (-not (Test-Path $folderPath -PathType Container)) { New-Item -Path $folderPath -ItemType Directory -Force @@ -70,7 +70,7 @@ function Install-Starship { Write-Host "Folder '$folderPath' already exists." } Set-Content -Path "$folderPath\starship.lua" -Value "load(io.popen('starship init cmd'):read(`"*a`"))()" - Write-Head "Configuring PowerShell" + Write-Host "Configuring PowerShell" $folderPath = "$([Environment]::GetFolderPath("MyDocuments"))\WindowsPowerShell" if (-not (Test-Path $folderPath -PathType Container)) { New-Item -Path $folderPath -ItemType Directory -Force