1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -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..."
}
}
}

View File

@@ -407,6 +407,21 @@ dms ipc call bar hide
dms ipc call bar status
```
## Target: `systemupdater`
System updater external check request.
### Functions
**`updatestatus`**
- Trigger a system update check
- Returns: Success confirmation
### Examples
```bash
dms ipc call systemupdater updatestatus
```
## Modal Controls
These targets control various modal windows and overlays.