Skip to content

Commit

Permalink
when using win7, use an exe that is more suitable for the platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Oct 22, 2024
1 parent 604e73c commit 6d447ff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/engines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,12 @@ engines::engine::engine( Logger& logger,

m_downloadUrl = "https://api.github.com/repos/nicolaasjan/yt-dlp/releases/latest" ;

m_commandName = "yt-dlp_win7_x86.exe" ;
if( utility::platformIs32Bit() ){

m_commandName = "yt-dlp_win7_x86.exe" ;
}else{
m_commandName = "yt-dlp_win7.exe" ;
}
}else{
m_commandName = m.name ;
}
Expand Down

0 comments on commit 6d447ff

Please sign in to comment.