diff --git a/scripts/bundler.sh b/scripts/bundler.sh index a9f40833..89f5359f 100755 --- a/scripts/bundler.sh +++ b/scripts/bundler.sh @@ -51,8 +51,9 @@ main() { move_release_to_output_dir ;; linux-x64) - JRE="OpenJDK8U-jre_x64_linux_hotspot_8u302b08.tar.gz" - JRE_RELEASE="jdk8u302-b08" + # https://github.com/adoptium/temurin8-binaries/releases/ + JRE_RELEASE="jdk8u392-b08" + JRE="OpenJDK8U-jre_x64_linux_hotspot_$(echo "$JRE_RELEASE" | sed 's/jdk//;s/-//g').tar.gz" JRE_DIR="$JRE_RELEASE-jre" JRE_URL="https://github.com/adoptium/temurin8-binaries/releases/download/$JRE_RELEASE/$JRE" ELECTRON="electron-$electron_version-linux-x64.zip" @@ -64,8 +65,9 @@ main() { move_release_to_output_dir ;; macOS-x64) - JRE="OpenJDK8U-jre_x64_mac_hotspot_8u302b08.tar.gz" - JRE_RELEASE="jdk8u302-b08" + # https://github.com/adoptium/temurin8-binaries/releases/ + JRE_RELEASE="jdk8u392-b08" + JRE="OpenJDK8U-jre_x64_mac_hotspot_$(echo "$JRE_RELEASE" | sed 's/jdk//;s/-//g').tar.gz" JRE_DIR="$JRE_RELEASE-jre" JRE_URL="https://github.com/adoptium/temurin8-binaries/releases/download/$JRE_RELEASE/$JRE" ELECTRON="electron-$electron_version-darwin-x64.zip" @@ -77,8 +79,9 @@ main() { move_release_to_output_dir ;; macOS-arm64) - JRE="zulu8.56.0.23-ca-jre8.0.302-macosx_aarch64.tar.gz" - JRE_RELEASE="zulu8.56.0.23-ca-jre8.0.302-macosx_aarch64" + # https://cdn.azul.com/zulu/bin/ + JRE="zulu8.74.0.17-ca-jre8.0.392-macosx_aarch64.tar.gz" + JRE_RELEASE="zulu8.74.0.17-ca-jre8.0.392-macosx_aarch64" JRE_DIR="$JRE_RELEASE/zulu-8.jre" JRE_URL="https://cdn.azul.com/zulu/bin/$JRE" ELECTRON="electron-$electron_version-darwin-arm64.zip" @@ -90,10 +93,11 @@ main() { move_release_to_output_dir ;; windows-x86) - JRE="OpenJDK8U-jre_x86-32_windows_hotspot_8u292b10.zip" - JRE_RELEASE="jdk8u292-b10" + # https://github.com/adoptium/temurin8-binaries/releases/ + JRE_RELEASE="jdk8u392-b08" + JRE="OpenJDK8U-jre_x86-32_windows_hotspot_$(echo "$JRE_RELEASE" | sed 's/jdk//;s/-//g').zip" JRE_DIR="$JRE_RELEASE-jre" - JRE_URL="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/$JRE_RELEASE/$JRE" + JRE_URL="https://github.com/adoptium/temurin8-binaries/releases/download/$JRE_RELEASE/$JRE" ELECTRON="electron-$electron_version-win32-ia32.zip" ELECTRON_URL="https://github.com/electron/electron/releases/download/$electron_version/$ELECTRON" download_jre_and_electron @@ -107,8 +111,9 @@ main() { move_release_to_output_dir ;; windows-x64) - JRE="OpenJDK8U-jre_x64_windows_hotspot_8u302b08.zip" - JRE_RELEASE="jdk8u302-b08" + # https://github.com/adoptium/temurin8-binaries/releases/ + JRE_RELEASE="jdk8u392-b08" + JRE="OpenJDK8U-jre_x64_windows_hotspot_$(echo "$JRE_RELEASE" | sed 's/jdk//;s/-//g').zip" JRE_DIR="$JRE_RELEASE-jre" JRE_URL="https://github.com/adoptium/temurin8-binaries/releases/download/$JRE_RELEASE/$JRE" ELECTRON="electron-$electron_version-win32-x64.zip"