Can manually download an OTA update

This commit is contained in:
2024-10-08 22:13:36 +02:00
parent 6cf7c2cae1
commit 2e4a2b68dd
4 changed files with 53 additions and 8 deletions

View File

@ -37,6 +37,13 @@ export class OTAAPI {
});
}
/**
* Get the link to download an OTA update
*/
static DownloadOTAUpdateURL(platform: string, version: string): string {
return APIClient.backendURL() + `/ota/${platform}/${version}`;
}
/**
* Get the list of OTA updates
*/