mirror of
https://github.com/massgravel/massgrave.dev.git
synced 2024-11-23 15:00:54 +07:00
Add commit in download URL
This commit is contained in:
parent
e6b0b55f72
commit
e791b8e079
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user