1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 22:15:38 -05:00

external system update trigger (#546)

This commit is contained in:
Massimo Branchini
2025-10-25 16:07:56 +02:00
committed by GitHub
parent 9774991b56
commit 959766b265
2 changed files with 27 additions and 0 deletions

View File

@@ -263,4 +263,16 @@ Singleton {
running: refCount > 0 && distributionSupported && (pkgManager || updChecker)
onTriggered: checkForUpdates()
}
IpcHandler {
target: "systemupdater"
function updatestatus(): string {
if (root.isChecking) {
return "ERROR: already checking"
}
root.checkForUpdates()
return "SUCCESS: Now checking..."
}
}
}