Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions native/host/src/settings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ pub fn start(hub: Arc<Hub>, agents: Option<Arc<crate::agents::Agents>>) {
hub.register_rpc(Arc::new(misc::SettingsMisc));
crate::update::svc::install(&hub);
crate::update::boathub::install(&hub);
tools_install::repair_codex_soon(&hub);
crate::net::alwayson::install(&hub);
crate::net::homemove::install(&hub);
hub.register_rpc(Arc::new(onboard::OnboardRpc));
Expand Down
1 change: 1 addition & 0 deletions native/host/src/settings/models_probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ pub async fn detect(home: &Path) -> Found {

/// One detection: a list that differs from the one in force is cached, pushed to every client and every view is drawn again. Answers whether it changed.
pub async fn refresh(hub: &Arc<Hub>) -> bool {
super::tools_install::repair_codex_soon(hub);
let info = info_of(&detect(&hub.cfg.home).await);
let first_scan = !super::models::probed_here();
let changed = super::models::set_live(&info);
Expand Down
1 change: 1 addition & 0 deletions native/host/src/settings/onboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ impl OnboardRpc {
// a path typed here goes where FreeCAD is looked for, then Settings, CAD reads the same machine
if checks["freecad"]["runs"] == true && !g("freecad").is_empty() { let d = hub.cfg.home.join("freecad"); let _ = std::fs::create_dir_all(&d); let _ = std::fs::write(d.join("command"), g("freecad")); }
crate::files::kicad::ipc::publish_cad(hub).await;
super::tools_install::repair_codex_soon(hub);
super::models_probe::refresh_soon(hub); // setup's check and the picker's agents are found the same way, at the same moment
Self::auto_kicad(hub).await;
// a setting, not info: its log line redraws every client, and the answer outlives a restart. Only a change is logged.
Expand Down
Loading
Loading