From 604e73c28062da599ac9bde33cf9e09b862e39a2 Mon Sep 17 00:00:00 2001 From: mhogomchungu Date: Tue, 22 Oct 2024 00:43:52 +0300 Subject: [PATCH] change exe name of win7 yt-dlp --- src/engines.cpp | 2 +- src/utility.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engines.cpp b/src/engines.cpp index 33bc7576..98bcd0fc 100644 --- a/src/engines.cpp +++ b/src/engines.cpp @@ -836,7 +836,7 @@ engines::engine::engine( Logger& logger, m_downloadUrl = "https://api.github.com/repos/nicolaasjan/yt-dlp/releases/latest" ; - m_commandName = "yt-dlp_win7_Py3.12_x86.exe" ; + m_commandName = "yt-dlp_win7_x86.exe" ; }else{ m_commandName = m.name ; } diff --git a/src/utility.cpp b/src/utility.cpp index c8f390ee..44d08fb2 100644 --- a/src/utility.cpp +++ b/src/utility.cpp @@ -169,7 +169,7 @@ bool utility::platformIsWindows7() { const auto m = QOperatingSystemVersion::current() ; - return m <= QOperatingSystemVersion::Windows7 ; + return m < QOperatingSystemVersion::Windows8 ; } QString utility::windowsApplicationDirPath()