Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

win, is version equal or greater, build number

fufesou5649fcc9ca69
diff --git a/src/platform/windows.cc b/src/platform/windows.cc
index b76fca2fd..3a3ed437d 100644
--- a/src/platform/windows.cc
+++ b/src/platform/windows.cc
@@ -660,13 +660,14 @@ extern "C"
/* Initialize the condition mask. */
VER_SET_CONDITION(condition_mask, VER_MAJORVERSION, op);
VER_SET_CONDITION(condition_mask, VER_MINORVERSION, op);
+ VER_SET_CONDITION(condition_mask, VER_BUILDNUMBER, op);
VER_SET_CONDITION(condition_mask, VER_SERVICEPACKMAJOR, op);
VER_SET_CONDITION(condition_mask, VER_SERVICEPACKMINOR, op);
/* Perform the test. */
return VerifyVersionInfo(
&osvi,
- VER_MAJORVERSION | VER_MINORVERSION |
+ VER_MAJORVERSION | VER_MINORVERSION | VER_BUILDNUMBER |
VER_SERVICEPACKMAJOR | VER_SERVICEPACKMINOR,
condition_mask);
}