11
This commit is contained in:
@@ -43,7 +43,9 @@ pub fn run() {
|
||||
let heartbeat_handle = handle.clone();
|
||||
let oem_id = oem_id::load_oem_id(&handle);
|
||||
let agent_id = agent_id::load_agent_id(&handle);
|
||||
app.manage(oem_context::OemContext { oem_id, agent_id });
|
||||
let install_ctx = oem_context::OemContext { oem_id, agent_id };
|
||||
oem_context::init(install_ctx.clone());
|
||||
app.manage(install_ctx);
|
||||
|
||||
tauri::async_runtime::block_on(async move {
|
||||
let app_config = handle.state::<app_config::AppConfig>();
|
||||
|
||||
Reference in New Issue
Block a user