Skip to content

Commit

Permalink
fix a build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Oct 19, 2024
1 parent da96391 commit ae319a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ engines::engine::engine( Logger& logger,

if( utility::platformIs32Bit() ){

//??
m_name = "yt-dlp_win7_Py3.12_x86.exe" ;
}else{
m_name = "yt-dlp_win7_Py3.12.exe" ;
}
Expand Down
2 changes: 1 addition & 1 deletion src/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ bool utility::platformIsWindows7()
{
const auto m = QOperatingSystemVersion::current() ;

return m == QOperatingSystemVersion::Windows7 ;
return m <= QOperatingSystemVersion::Windows7 ;
}

QString utility::windowsApplicationDirPath()
Expand Down

0 comments on commit ae319a0

Please sign in to comment.