From 49b4e7471e3bdb53d454baeb01cee582df206e6c Mon Sep 17 00:00:00 2001 From: mhogomchungu Date: Fri, 6 Sep 2024 12:26:29 +0300 Subject: [PATCH] update front page --- README.md | 6 +++--- .../io.github.mhogomchungu.media-downloader.metainfo.xml | 2 +- src/utility.cpp | 6 +++--- src/utility.h | 1 + 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4db88ec7..ce083465 100644 --- a/README.md +++ b/README.md @@ -42,17 +42,17 @@ Make sure you have access to the internet before you run the media-downloader fo #### Bundle for MacOS -Bundle for MacOS is [here](https://github.com/mhogomchungu/media-downloader/releases/download/5.0.1/MediaDownloader-5.0.1.dmg). This bundle is not notarized and your system may report it as "corrupted". Search the internet on how to install bundles that are not notarized if you want to use this app on MacOS. +Bundle for MacOS is [here](https://github.com/mhogomchungu/media-downloader/releases/download/5.1.0/MediaDownloader-5.1.0.dmg). This bundle is not notarized and your system may report it as "corrupted". Search the internet on how to install bundles that are not notarized if you want to use this app on MacOS. #### Installer for Microsoft Windows -Installer for Microsoft Windows is [here](https://github.com/mhogomchungu/media-downloader/releases/download/5.0.1/MediaDownloader-5.0.1.setup.exe). +Installer for Microsoft Windows is [here](https://github.com/mhogomchungu/media-downloader/releases/download/5.1.0/MediaDownloader-5.1.0.setup.exe). #### Portable version for Microsoft Windows A portable version is a self-contained version that keeps everything in the application folder and does not need to be installed first. -Portable version for Microsoft Windows is [here](https://github.com/mhogomchungu/media-downloader/releases/download/5.0.1/MediaDownloader-5.0.1.zip). +Portable version for Microsoft Windows is [here](https://github.com/mhogomchungu/media-downloader/releases/download/5.1.0/MediaDownloader-5.1.0.zip). You can also install the portable version for Windows using scoop with the following commands: diff --git a/src/flatpak/io.github.mhogomchungu.media-downloader.metainfo.xml b/src/flatpak/io.github.mhogomchungu.media-downloader.metainfo.xml index 27cf388e..0350a66b 100644 --- a/src/flatpak/io.github.mhogomchungu.media-downloader.metainfo.xml +++ b/src/flatpak/io.github.mhogomchungu.media-downloader.metainfo.xml @@ -55,7 +55,7 @@ - https://github.com/mhogomchungu/media-downloader/releases/download/5.0.1/media-downloader-5.0.1.tar.xz/ + https://github.com/mhogomchungu/media-downloader/releases/download/5.1.0/media-downloader-5.1.0.tar.xz/

Changelog

    diff --git a/src/utility.cpp b/src/utility.cpp index a5f7f476..565f9640 100644 --- a/src/utility.cpp +++ b/src/utility.cpp @@ -1725,7 +1725,7 @@ void utility::setHelpVersionOfMediaDownloader( const QString& e ) _runTimeVersions().setAboutInstanceVersion( e ) ; } -static QStringList _parseOptions( const QString& e,const engines::engine& engine ) +QStringList utility::args::parseOptions( const QString& e,const engines::engine& engine ) { auto m = util::splitPreserveQuotes( e ) ; @@ -1780,8 +1780,8 @@ static QStringList _parseOptions( const QString& e,const engines::engine& engine utility::args::args( const QString& uiOptions,const QString& otherOptions,const engines::engine& engine ) { - m_uiDownloadOptions = _parseOptions( uiOptions,engine ) ; - m_otherOptions = _parseOptions( otherOptions,engine ) ; + m_uiDownloadOptions = this->parseOptions( uiOptions,engine ) ; + m_otherOptions = this->parseOptions( otherOptions,engine ) ; m_credentials = engine.setCredentials( m_uiDownloadOptions,m_otherOptions ) ; } diff --git a/src/utility.h b/src/utility.h index b4ac71b0..7b792ad4 100644 --- a/src/utility.h +++ b/src/utility.h @@ -328,6 +328,7 @@ namespace utility } QStringList options() const ; private: + QStringList parseOptions( const QString&,const engines::engine& ) ; QString m_credentials ; QStringList m_uiDownloadOptions ; QStringList m_otherOptions ;