From eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Wed, 30 Apr 2025 16:12:48 -0500 Subject: [PATCH] Handle win2019 gcc issue --- dist/index.js | 2 +- windows.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index e4ef2691f..1c4fbc767 100644 --- a/dist/index.js +++ b/dist/index.js @@ -74352,7 +74352,7 @@ async function install(platform, engine, version) { // windows 2016 and 2019 need ucrt64 installed, 2022 and future images need // ucrt64 or mingw64 installed, depending on Ruby version - if (((msys2Type === 'ucrt64') || !hasMSYS2PreInstalled) && common.floatVersion(version) >= 2.4) { + if ((msys2Type === 'ucrt64') || (common.floatVersion(version) >= 2.4)) { await installGCCTools(msys2Type, version) } diff --git a/windows.js b/windows.js index ec0526912..c3b6c2304 100644 --- a/windows.js +++ b/windows.js @@ -89,7 +89,7 @@ export async function install(platform, engine, version) { // windows 2016 and 2019 need ucrt64 installed, 2022 and future images need // ucrt64 or mingw64 installed, depending on Ruby version - if (((msys2Type === 'ucrt64') || !hasMSYS2PreInstalled) && common.floatVersion(version) >= 2.4) { + if ((msys2Type === 'ucrt64') || (common.floatVersion(version) >= 2.4)) { await installGCCTools(msys2Type, version) }