aboutsummaryrefslogtreecommitdiff
path: root/win-nvim.bat
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-08-06 22:57:57 +0200
committersrdusr <trevorgray@srdusr.com>2023-08-06 22:57:57 +0200
commit692db3d7b9b80c1849b283738f6a2fe61ea0cdd2 (patch)
tree59562989bdbcdd2d23fd81d33302298ba4d173b0 /win-nvim.bat
parentc862355da6e7d3053bb7869e59aff8616abeed1a (diff)
downloaddotfiles-692db3d7b9b80c1849b283738f6a2fe61ea0cdd2.tar.gz
dotfiles-692db3d7b9b80c1849b283738f6a2fe61ea0cdd2.zip
Download winget
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"
+