Merge branch 'main' of github.com:noctalia-dev/noctalia-shell
This commit is contained in:
commit
92b37df962
1 changed files with 4 additions and 5 deletions
|
|
@ -464,6 +464,8 @@ Singleton {
|
||||||
if (cachedAurHelper !== "") {
|
if (cachedAurHelper !== "") {
|
||||||
const packageList = selectedPackages.join(" ")
|
const packageList = selectedPackages.join(" ")
|
||||||
const command = generateUpdateCommand(cachedAurHelper + " -S " + packageList)
|
const command = generateUpdateCommand(cachedAurHelper + " -S " + packageList)
|
||||||
|
Logger.log("ArchUpdater", "Selective update command:", cachedAurHelper + " -S " + packageList)
|
||||||
|
Logger.log("ArchUpdater", "Selected packages:", selectedPackages)
|
||||||
Quickshell.execDetached([terminal, "-e", "bash", "-c", command])
|
Quickshell.execDetached([terminal, "-e", "bash", "-c", command])
|
||||||
} else {
|
} else {
|
||||||
updateInProgress = false
|
updateInProgress = false
|
||||||
|
|
@ -481,12 +483,9 @@ Singleton {
|
||||||
|
|
||||||
// Reset update state (useful for manual recovery)
|
// Reset update state (useful for manual recovery)
|
||||||
function resetUpdateState() {
|
function resetUpdateState() {
|
||||||
// If update is in progress, mark it as failed first
|
// Clear all update states
|
||||||
if (updateInProgress) {
|
|
||||||
updateFailed = true
|
|
||||||
}
|
|
||||||
|
|
||||||
updateInProgress = false
|
updateInProgress = false
|
||||||
|
updateFailed = false
|
||||||
lastUpdateError = ""
|
lastUpdateError = ""
|
||||||
checkFailed = false
|
checkFailed = false
|
||||||
lastCheckError = ""
|
lastCheckError = ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue