Skip to content

Commit d1cbf7c

Browse files
committed
Add support for Windows Server Standard Evaluation
blacksmith.sh runners use "Microsoft Windows Server 2025 Standard Evaluation".
1 parent 896e71e commit d1cbf7c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

common.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ export function getOSNameVersionArch() {
281281

282282
function findWindowsVersion() {
283283
const version = os.version()
284-
const match = version.match(/^Windows(?: Server)? (\d+) (?:Datacenter|Enterprise)/)
284+
console.log(`Windows version string: ${version}`)
285+
const match = version.match(/^Windows(?: Server)? (\d+) (?:Standard|Datacenter|Enterprise)(?: Evaluation)?/)
285286
if (match) {
286287
return match[1]
287288
} else {

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)