Update get.ps1 for version 2.9
This commit is contained in:
parent
d68f2a4ee6
commit
a8a0726e63
|
@ -4,9 +4,9 @@ $ErrorActionPreference = "Stop"
|
||||||
# Enable TLSv1.2 for compatibility with older clients for current session
|
# Enable TLSv1.2 for compatibility with older clients for current session
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
|
|
||||||
$DownloadURL1 = 'https://git.xb/xinb/Microsoft-Activation-Scripts/raw/commit/c75cd29b9fda945df18a72bccf17fab56868a261/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
$DownloadURL1 = 'https://git.xb/xinb/Microsoft-Activation-Scripts/raw/commit/37ec96504a2983a5801c43e975ab78c8f9315d2a/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
||||||
$DownloadURL2 = 'https://git.xinb.cc/xinb/Microsoft-Activation-Scripts/raw/commit/c75cd29b9fda945df18a72bccf17fab56868a261/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
$DownloadURL2 = 'https://git.xinb.cc/xinb/Microsoft-Activation-Scripts/raw/commit/37ec96504a2983a5801c43e975ab78c8f9315d2a/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
||||||
$DownloadURL3 = 'https://git.xinb.cc/xinb/Microsoft-Activation-Scripts/raw/commit/c75cd29b9fda945df18a72bccf17fab56868a261/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
$DownloadURL3 = 'https://git.xinb.cc/xinb/Microsoft-Activation-Scripts/raw/commit/37ec96504a2983a5801c43e975ab78c8f9315d2a/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
||||||
|
|
||||||
$URLs = @($DownloadURL1, $DownloadURL2, $DownloadURL3)
|
$URLs = @($DownloadURL1, $DownloadURL2, $DownloadURL3)
|
||||||
$ShuffledURLs = $URLs | Sort-Object { Get-Random }
|
$ShuffledURLs = $URLs | Sort-Object { Get-Random }
|
||||||
|
@ -24,7 +24,7 @@ catch {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Verify script integrity
|
# Verify script integrity
|
||||||
$releaseHash = 'E84076DA0AF0DEE161FAFEBA9739362B9C422AC3456C6054045DA6519A669BC4'
|
$releaseHash = '49CE81C583C69AC739890D2DFBB908BDD67B862702DAAEBCD2D38F1DDCEE863D'
|
||||||
$stream = New-Object IO.MemoryStream
|
$stream = New-Object IO.MemoryStream
|
||||||
$writer = New-Object IO.StreamWriter $stream
|
$writer = New-Object IO.StreamWriter $stream
|
||||||
$writer.Write($response)
|
$writer.Write($response)
|
||||||
|
|
Loading…
Reference in New Issue