Closed johanjanssen closed 2 years ago
@johanjanssen Why is the change to line 62 necessary? This doesn't affect anything.
The change of not having the "U" next to the number in the URL shouldn't be even needed.
The only change needed was maybe the removal of the 14, 15 from the GetLatest function but even this is superficial.
I'll double check next week, and get back to this issue.
@RedBaron2 good one, it indeed wasn't necessary. I just occasionally clean up the set so it only contains versions I actually want to build. Same goes for the versions in GetLatest, there it also prevents the application from checking if those versions got updates, so it speeds up the process a little bit.
https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%2B7/OpenJDK15U-jdk_x86-32_windows_hotspot_15.0.2_7.msi
https://github.com/AdoptOpenJDK/openjdk16-binaries/releases/download/jdk-16%2B36/OpenJDK16-jdk_x86-32_windows_hotspot_16_36.msi
if ($url32 -match "${number}U") { $url32 = $url32 } else { $url32 = $null } vs if ($url32 -match "${number}") { $url32 = $url32 } else { $url32 = $null }