pub async fn CheckForUpdates(
current_version: Option<String>,
channel: Option<String>,
) -> Result<UpdateInfoDTO, String>Expand description
Command: Check for Updates
Checks if a newer version of the application is available. Delegates to Air’s update checking service.
§Arguments
app_handle- Tauri application handlecurrent_version- Current application versionchannel- Update channel (“stable”, “beta”, “nightly”)
§Returns
UpdateInfoDTO with update information or error message