window10安装openlens

window下安装winget
https://learn.microsoft.com/zh-cn/windows/package-manager/winget/?WT.mc_id=-blog-scottha

$progressPreference = 'silentlyContinue'
Write-Information "Downloading WinGet and its dependencies..."
Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle


进入下面目录,winget安装在这里了
C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps


.\winget install openlens --source winget
https://blog.csdn.net/sanhewuyang/article/details/128678728

posted @ 2024-04-03 17:55  坚强的小蚂蚁  阅读(52)  评论(0编辑  收藏  举报