Add support for Windows Server Standard Evaluation

blacksmith.sh runners use "Windows Server 2025 Standard Evaluation".
This commit is contained in:
Jānis Baiža
2026-03-06 13:30:33 +00:00
committed by Benoit Daloze
parent 19a43a6a24
commit b3cff1b264
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ export function getOSNameVersionArch() {
function findWindowsVersion() {
const version = os.version()
const match = version.match(/^Windows(?: Server)? (\d+) (?:Datacenter|Enterprise)/)
const match = version.match(/^Windows(?: Server)? (\d+) (?:Standard|Datacenter|Enterprise)/)
if (match) {
return match[1]
} else {