X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=wsl%2Finstall.ps1;h=5972528cd4685c60800ee50671c6a5272b61fe9f;hb=894562bc0c2e40cfdc36ee3ca293a354a04786d0;hp=849ead4a4db035c7bc8c21fc6c93b1a87418b1a3;hpb=b944f3cb2597fac8225446ba9fbc110790c59c74;p=webi-installers%2F.git diff --git a/wsl/install.ps1 b/wsl/install.ps1 index 849ead4..5972528 100644 --- a/wsl/install.ps1 +++ b/wsl/install.ps1 @@ -28,13 +28,13 @@ IF(!(Test-CommandExists wsl)) } echo "" -IF ((Test-Path -Path "$Env:UserProfile\Downloads\Ubuntu_2004_x64.appx" )) { +IF ((Test-Path -Path "$Env:UserProfile\Downloads\webi\Ubuntu_2004_x64.appx" )) { echo "Skipping 4 of 5: Ubuntu Linux 20.04 already installed" } ELSE { echo "Installing 4 of 5 Ubuntu Linux 20.04 (for WSL 1 and WSL 2) ..." - curl.exe -fL -o "$Env:UserProfile\Downloads\Ubuntu_2004_x64.appx.part" https://aka.ms/wslubuntu2004 - & move "$Env:UserProfile\Downloads\Ubuntu_2004_x64.appx.part" "$Env:UserProfile\Downloads\Ubuntu_2004_x64.appx" - Add-AppxPackage "$Env:UserProfile\Downloads\Ubuntu_2004_x64.appx" + curl.exe -fL -o "$Env:UserProfile\Downloads\webi\Ubuntu_2004_x64.appx.part" https://aka.ms/wslubuntu2004 + & move "$Env:UserProfile\Downloads\webi\Ubuntu_2004_x64.appx.part" "$Env:UserProfile\Downloads\webi\Ubuntu_2004_x64.appx" + Add-AppxPackage "$Env:UserProfile\Downloads\webi\Ubuntu_2004_x64.appx" } echo ""