1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-10 14:29:36 -04:00

fix(IPC): Remove recent duplicate IPC bindings

This commit is contained in:
purian23
2026-05-08 23:13:40 -04:00
parent 10872b5fc8
commit b75453c7d6
3 changed files with 11 additions and 28 deletions

View File

@@ -1190,6 +1190,17 @@ Item {
return "SYSTEMUPDATER_CLOSE_SUCCESS";
}
function updatestatus(): string {
if (SystemUpdateService.isChecking) {
return "ERROR: already checking";
}
if (SystemUpdateService.backends.length === 0) {
return "ERROR: no package manager available";
}
SystemUpdateService.checkForUpdates();
return "SUCCESS: Now checking...";
}
target: "systemupdater"
}