From e791b8e079d3247222e11e72859f6363f5bd83bc Mon Sep 17 00:00:00 2001 From: WindowsAddict Date: Sat, 20 Apr 2024 17:14:59 +0530 Subject: [PATCH] Add commit in download URL --- build/get.ps1 | 7 +++---- static/get.ps1 | 7 +++---- 2 files changed, 6 insertions(+), 8 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 diff --git a/static/get.ps1 b/static/get.ps1 index 086048e..0fa77c5 100644 --- a/static/get.ps1 +++ b/static/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