# "$env:ProgramFiles\PowerShell\7" #可能要管理员权限 $InstallPath="$env:systemDrive\powershell\7" ) functionGet-LatestPowerShellDownloadUrl { <# .SYNOPSIS 从github获取powershell最新稳定版下载链接,支持指定下载类型(zip/msi) #> param(
This is how I used vcpkg to get the cURL files: C:\Miscellaneous_Libraries\vcpkg>vcpkg install curl[tool] https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/PowerShell-7.4.1-win-x64.msi
@@ -165,7 +165,7 @@ jobs: matrix: testFiles: - winCodeSignTest,differentialUpdateTest - installerTest,appxTest,msiTest,portableTest,assistedInstallerTest,protonTest - appxTest,msiTest,portableTest,assistedInstallerTest,protonTest - BuildTest,oneClickInstallerTest,winPackagerTest,nsisUpdaterTest,web...