Skip to content

Commit f09bde3

Browse files
author
Codectory
committed
fixing Windows 11 older than 24H2
1 parent f5a0ba7 commit f09bde3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Source/BinObjCleaner.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q "%%G"
2+
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
3+
pause

Source/HDRController/HDRController/HDRController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static bool UseNewApi()
6868

6969
// Initialize the OSVERSIONINFOEX structure.
7070

71-
if (current.dwMajorVersion >= 10)
71+
if (current.dwMajorVersion > 10)
7272
return true;
7373
else if (current.dwMajorVersion == 10)
7474
{

0 commit comments

Comments
 (0)