mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Update Zulu_JDK.ps1
This commit is contained in:
@@ -4,8 +4,11 @@ $Parameters = @{
|
|||||||
UseBasicParsing = $true
|
UseBasicParsing = $true
|
||||||
Verbose = $true
|
Verbose = $true
|
||||||
}
|
}
|
||||||
$URL = (Invoke-RestMethod @Parameters).architecture."64bit".url
|
# $URL = (Invoke-RestMethod @Parameters).architecture."64bit".url
|
||||||
$ZuluTag = (Invoke-RestMethod @Parameters).version
|
# $ZuluTag = (Invoke-RestMethod @Parameters).version
|
||||||
|
$result = Invoke-RestMethod @Parameters
|
||||||
|
$URL = $result.architecture."64bit".url
|
||||||
|
$ZuluTag = $result.version
|
||||||
$Parameters = @{
|
$Parameters = @{
|
||||||
Uri = $URL
|
Uri = $URL
|
||||||
Outfile = "Temp\jdk_windows-x64_bin.zip"
|
Outfile = "Temp\jdk_windows-x64_bin.zip"
|
||||||
|
|||||||
Reference in New Issue
Block a user