Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed May 20, 2024
1 parent f8447a4 commit 7f9f6e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,4 @@ Version 1.2.0(April 1st, 2021)
Version 4.7.0(Unreleased)
[All]
- Add Arabic translations.
- Add support for MacOS.
3 changes: 3 additions & 0 deletions src/engines/yt-dlp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ QJsonObject yt_dlp::init( const QString& name,
json.add( { { "Windows" },{ { "x86","youtube-dl.exe",{ "youtube-dl.exe" } },
{ "amd64","youtube-dl.exe",{ "youtube-dl.exe" } } } } ) ;

json.add( { { "MacOS" },{ { "x86","yt-dlp_macos",{ "yt-dlp_macos" } },
{ "amd64","yt-dlp_macos",{ "yt-dlp_macos" } } } } ) ;

json.done() ;

mainObj.insert( "DownloadUrl","https://api.github.com/repos/ytdl-org/youtube-dl/releases/latest" ) ;
Expand Down
2 changes: 1 addition & 1 deletion src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ QString settings::localizationLanguagePath()

if( utility::platformIsOSX() ){

return QCoreApplication::applicationDirPath() + "/../Resources/translations" ;
return utility::OSXApplicationDirPath() + "/../Resources/translations" ;
}

if( !m_settings.contains( "TranslationsPath" ) ){
Expand Down

0 comments on commit 7f9f6e7

Please sign in to comment.