pub async fn download_tessdata(
app: AppHandle,
lang: String,
) -> Result<(), String>Expand description
Download the tessdata file for lang from the Tesseract GitHub release.
No-ops if the file is already present. Emits tessdata:progress events
with { lang, downloaded, total } (total=0 when content-length is unknown).