pub async fn DownloadUpdate(
url: String,
destination: String,
checksum: Option<String>,
) -> Result<DownloadResultDTO, String>Expand description
Command: Download Update
Downloads an application update from the specified URL. Delegates to Air’s download service.
§Arguments
app_handle- Tauri application handleurl- URL to download the update fromdestination- Local destination path for the downloadchecksum- Optional SHA256 checksum for verification
§Returns
DownloadResultDTO with download status