Skip to main content

install

Function install 

Source
pub fn install<R: Runtime>(context: &mut Context<R>) -> HotUpdateHandle
Expand description

Step 1: swap the generated context’s embedded assets for the hot-update provider. Must be called before tauri::Builder::build/run consumes the context. Pass the returned handle to init.

Until init’s setup hook runs, the provider serves the embedded assets — the fail-safe floor.