test new systray #50
+6
-2
@@ -66,7 +66,7 @@ Singleton {
|
|||||||
Process {
|
Process {
|
||||||
id: cmdDetect
|
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
|
running: true
|
||||||
|
|
||||||
stdout: StdioCollector {
|
stdout: StdioCollector {
|
||||||
@@ -80,7 +80,11 @@ Singleton {
|
|||||||
helper = "pacman";
|
helper = "pacman";
|
||||||
}
|
}
|
||||||
|
|
||||||
updatesProc.command = [helper, "-Qu"];
|
if (helper === "checkupdates") {
|
||||||
|
updatesProc.command = [helper];
|
||||||
|
} else {
|
||||||
|
updatesProc.command = [helper, "-Qu"];
|
||||||
|
}
|
||||||
root.commandReady = true;
|
root.commandReady = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user