Skip to content

Commit 0c5d1ec

Browse files
authored
fix: correct upgrade script URL for Windows (#1055)
1 parent b9424c3 commit 0c5d1ec

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/install/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if ($WinVer.Major -lt 10 -or ($WinVer.Major -eq 10 -and $WinVer.Build -lt $MinBu
3535

3636
$ErrorActionPreference = "Stop"
3737

38-
$UpgradeScriptURL = "https://raw.githubusercontent.com/apify/apify-cli/main/scripts/install/upgrade.ps1"
38+
$UpgradeScriptURL = "https://raw.githubusercontent.com/apify/apify-cli/refs/heads/master/scripts/install/upgrade.ps1"
3939

4040
# These three environment functions are roughly copied from https://github.com/prefix-dev/pixi/pull/692
4141
# They are used instead of `SetEnvironmentVariable` because of unwanted variable expansions.

scripts/install/upgrade.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ param(
1313
[String]$Version
1414
)
1515

16-
$UpgradeScriptURL = "https://raw.githubusercontent.com/apify/apify-cli/main/scripts/install/upgrade.ps1"
16+
$UpgradeScriptURL = "https://raw.githubusercontent.com/apify/apify-cli/refs/heads/master/scripts/install/upgrade.ps1"
1717

1818
$URLArray = $AllUrls -split ','
1919

0 commit comments

Comments
 (0)