From 2ec8ef629964f4bfc7b1a034ad48f82364ff1d9d Mon Sep 17 00:00:00 2001 From: zach Date: Wed, 8 Apr 2026 00:44:38 +0200 Subject: [PATCH] checkupdates if exists --- Helpers/Updates.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Helpers/Updates.qml b/Helpers/Updates.qml index 48faa89..ec165d0 100644 --- a/Helpers/Updates.qml +++ b/Helpers/Updates.qml @@ -66,7 +66,7 @@ Singleton { Process { id: cmdDetect - command: ["sh", "-c", "command -v yay || command -v paru"] + command: ["sh", "-c", "command -v checkupdates || command -v yay || command -v paru"] running: true stdout: StdioCollector { @@ -80,7 +80,11 @@ Singleton { helper = "pacman"; } - updatesProc.command = [helper, "-Qu"]; + if (helper === "checkupdates") { + updatesProc.command = [helper]; + } else { + updatesProc.command = [helper, "-Qu"]; + } root.commandReady = true; } }