From 10559c02e4b4c47e2cd3b706d5ef49e2f1db469a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 8 Aug 2023 20:47:04 +0200 Subject: [PATCH] Refactor `nvs` installation --- scripts/Windows/Collections/Personal.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/Windows/Collections/Personal.ps1 b/scripts/Windows/Collections/Personal.ps1 index 9f0ac45d..af5f0761 100644 --- a/scripts/Windows/Collections/Personal.ps1 +++ b/scripts/Windows/Collections/Personal.ps1 @@ -154,10 +154,13 @@ function Restore-PersonalApps([Context] $context) { $context.RemoveDesktopIcon("GitHub*"); choco install -y ` - nvs ` python ` visualstudio2019-workload-vctools; + $env:NVS_HOME="$env:ProgramData\nvs"; + git clone "https://github.com/jasongin/nvs.git" "$env:NVS_HOME"; + & "$env:NVS_HOME\nvs.cmd" install; + refreshenv; nvs add latest; nvs link latest;