From 692db3d7b9b80c1849b283738f6a2fe61ea0cdd2 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sun, 6 Aug 2023 22:57:57 +0200 Subject: Download winget --- win-nvim.bat | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'win-nvim.bat') 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" + -- cgit v1.2.3