mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove old code that downloads msix for win-arm64 (#24175)
* Remove old code that downloads msix for win-arm64 * address Travis' comment on missing check for arm64
This commit is contained in:
@@ -352,11 +352,7 @@ try {
|
||||
|
||||
if ($IsWinEnv) {
|
||||
if ($UseMSI) {
|
||||
if ($architecture -eq "arm64") {
|
||||
$packageName = "PowerShell-${release}-win-${architecture}.msix"
|
||||
} else {
|
||||
$packageName = "PowerShell-${release}-win-${architecture}.msi"
|
||||
}
|
||||
$packageName = "PowerShell-${release}-win-${architecture}.msi"
|
||||
} else {
|
||||
$packageName = "PowerShell-${release}-win-${architecture}.zip"
|
||||
}
|
||||
@@ -388,9 +384,7 @@ try {
|
||||
|
||||
$null = New-Item -ItemType Directory -Path $contentPath -ErrorAction SilentlyContinue
|
||||
if ($IsWinEnv) {
|
||||
if ($UseMSI -and $architecture -eq "arm64") {
|
||||
Add-AppxPackage -Path $packagePath
|
||||
} elseif ($UseMSI -and $Quiet) {
|
||||
if ($UseMSI -and $Quiet) {
|
||||
Write-Verbose "Performing quiet install"
|
||||
$ArgumentList=@("/i", $packagePath, "/quiet")
|
||||
if($MSIArguments) {
|
||||
|
||||
Reference in New Issue
Block a user