mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 03:25:56 +00:00
feat(races): ship client integration in Manager 0.6.9
This commit is contained in:
1 parent
d20d5a6410
commit
374a3f9c23
11 files changed
+118
-73
No files matched your search
@@ -686,7 +686,9 @@ async fn custom_races_install(app: AppHandle, state: State<'_, AppState>, id: St
|
||||
"step": step,
|
||||
"percent": percent,
|
||||
}));
|
||||
})
|
||||
})?;
|
||||
let enabled = coa_core::modules::list(&root).iter().any(|module| module.id == "custom-races" && module.enabled);
|
||||
coa_core::custom_races::set_client_patch_enabled(&client, enabled)
|
||||
})
|
||||
.await;
|
||||
end_client_job(&state);
|
||||
|
||||
Reference in new issue
Block a user