diff options
Diffstat (limited to 'build')
| -rw-r--r-- | build/get.ps1 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/build/get.ps1 b/build/get.ps1 index 086048e..0fa77c5 100644 --- a/build/get.ps1 +++ b/build/get.ps1 @@ -4,10 +4,9 @@ $ErrorActionPreference = "Stop" # Enable TLSv1.2 for compatibility with older clients
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
-$CommonURLPart = 'MAS/All-In-One-Version/MAS_AIO-CRC32_60BA35A8.cmd'
-$DownloadURL1 = 'https://bitbucket.org/WindowsAddict/microsoft-activation-scripts/raw/master/' + $CommonURLPart
-$DownloadURL2 = 'https://codeberg.org/massgravel/Microsoft-Activation-Scripts/raw/branch/master/' + $CommonURLPart
-$DownloadURL3 = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/master/' + $CommonURLPart
+$DownloadURL1 = 'https://bitbucket.org/WindowsAddict/microsoft-activation-scripts/raw/d59e2b0e6e7d97f7aa950bce7a00ee609a271fe8/MAS/All-In-One-Version/MAS_AIO-CRC32_60BA35A8.cmd'
+$DownloadURL2 = 'https://codeberg.org/massgravel/Microsoft-Activation-Scripts/raw/commit/d59e2b0e6e7d97f7aa950bce7a00ee609a271fe8/MAS/All-In-One-Version/MAS_AIO-CRC32_60BA35A8.cmd'
+$DownloadURL3 = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/d59e2b0e6e7d97f7aa950bce7a00ee609a271fe8/MAS/All-In-One-Version/MAS_AIO-CRC32_60BA35A8.cmd'
$URLs = @($DownloadURL1, $DownloadURL2)
$RandomURL1 = Get-Random -InputObject $URLs
|
