aboutsummaryrefslogtreecommitdiff
path: root/win-nvim.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win-nvim.bat')
-rw-r--r--win-nvim.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/win-nvim.bat b/win-nvim.bat
index 3439ffb..c99374d 100644
--- a/win-nvim.bat
+++ b/win-nvim.bat
@@ -29,3 +29,9 @@ if not exist "%localPacker%\." (
REM Run the script by using this command in the same existing directory: win-nvim.bat
+@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://aka.ms/install-winget'))"
+iex ((new-object net.webclient).DownloadString('https://aka.ms/install-winget'))
+curl -o winget-cli.appxbundle https://aka.ms/winget-cli-appxbundle
+
+powershell Add-AppxPackage -Path "winget-cli.appxbundle"
+