From 71c2893e8e4aa2fb700fd6a4463ddf222e1cdcc4 Mon Sep 17 00:00:00 2001 From: Bappy1988 Date: Sat, 22 Nov 2025 16:24:24 +0000 Subject: [PATCH 1/2] Update qt-updater.cpp Made messaging clearer in the event of updating an unsigned AppImage in response to issue: https://github.com/AppImageCommunity/AppImageUpdate/issues/173 --- src/qt-ui/qt-updater.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/qt-ui/qt-updater.cpp b/src/qt-ui/qt-updater.cpp index 11cda18..c976f81 100644 --- a/src/qt-ui/qt-updater.cpp +++ b/src/qt-ui/qt-updater.cpp @@ -246,11 +246,14 @@ namespace appimage { if (validationResult == d->updater->VALIDATION_NOT_SIGNED) { // copy permissions of the old AppImage to the new version d->updater->copyPermissionsToNewFile(); + d->label->setText("Update Completed with warning: " + validationMessage); + palette.setColor(QPalette::Highlight, Qt::gray); + palette.setColor(QPalette::HighlightedText, Qt::black); + } else { + d->label->setText("Signature validation problem: " + validationMessage); + palette.setColor(QPalette::Highlight, Qt::yellow); + palette.setColor(QPalette::HighlightedText, Qt::black); } - - d->label->setText("Signature validation problem: " + validationMessage); - palette.setColor(QPalette::Highlight, Qt::yellow); - palette.setColor(QPalette::HighlightedText, Qt::black); } else { d->updater->restoreOriginalFile(); const QString message = "Signature validation error: " + validationMessage; From 20694591c7455d8c2e9d27a77a8696500030ceb4 Mon Sep 17 00:00:00 2001 From: Bappy1988 Date: Sat, 22 Nov 2025 16:37:32 +0000 Subject: [PATCH 2/2] corrected case incorrect capital C there --- src/qt-ui/qt-updater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt-ui/qt-updater.cpp b/src/qt-ui/qt-updater.cpp index c976f81..6ed1f32 100644 --- a/src/qt-ui/qt-updater.cpp +++ b/src/qt-ui/qt-updater.cpp @@ -246,7 +246,7 @@ namespace appimage { if (validationResult == d->updater->VALIDATION_NOT_SIGNED) { // copy permissions of the old AppImage to the new version d->updater->copyPermissionsToNewFile(); - d->label->setText("Update Completed with warning: " + validationMessage); + d->label->setText("Update completed with warning: " + validationMessage); palette.setColor(QPalette::Highlight, Qt::gray); palette.setColor(QPalette::HighlightedText, Qt::black); } else {