From d6a17468ae460e32086907ef8bbfc4e646c35505 Mon Sep 17 00:00:00 2001 From: Diyou Date: Fri, 29 Jul 2022 04:38:44 +0200 Subject: [PATCH 1/2] Update GithubReleasesZsyncUpdateInformation.h Removed the output to std::cerr in buildUrl --- src/updateinformation/GithubReleasesZsyncUpdateInformation.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/updateinformation/GithubReleasesZsyncUpdateInformation.h b/src/updateinformation/GithubReleasesZsyncUpdateInformation.h index 631a468..fe4cead 100644 --- a/src/updateinformation/GithubReleasesZsyncUpdateInformation.h +++ b/src/updateinformation/GithubReleasesZsyncUpdateInformation.h @@ -39,8 +39,6 @@ namespace appimage::update::updateinformation { url << "tags/" << tag; } - std::cerr << url.str() << std::endl; - auto response = cpr::Get(cpr::Url{url.str()}); nlohmann::json json; From e87c16fdc8a2f6601ea9963b4872f9297e2760b1 Mon Sep 17 00:00:00 2001 From: Diyou Date: Wed, 3 Aug 2022 02:13:09 +0200 Subject: [PATCH 2/2] Silence errors in importKeyFromAppImage Like last commit to prevent unintentional output to the console. --- src/updater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updater.cpp b/src/updater.cpp index e42578a..c74828c 100644 --- a/src/updater.cpp +++ b/src/updater.cpp @@ -484,7 +484,7 @@ namespace appimage::update { std::ostringstream oss; oss << "'" << gpgPath << "' " - << "--no-default-keyring --keyring '" << tempKeyRingPath << "' --import"; + << "--no-default-keyring --keyring '" << tempKeyRingPath << "' --import 2>/dev/null"; auto command = oss.str();