mirror of
https://github.com/readest/readest.git
synced 2026-04-29 03:50:52 +00:00
feat: in-app updater for Android (#885)
This commit is contained in:
parent
5c23642ac0
commit
8efad90932
48 changed files with 720 additions and 366 deletions
|
|
@ -35,3 +35,11 @@ pub(crate) async fn use_background_audio<R: Runtime>(
|
|||
) -> Result<()> {
|
||||
app.native_bridge().use_background_audio(payload)
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn install_package<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
payload: InstallPackageRequest,
|
||||
) -> Result<InstallPackageResponse> {
|
||||
app.native_bridge().install_package(payload)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue