Stop injecting phantom core profiles into a customized profile set
ensure_core_profiles() was unconditionally backfilling home/work/away into the in-memory config on every load, even when the user had already defined their own profiles (e.g. Home/Away/School). This showed up as duplicate/phantom lowercase entries in `breadcrumbs profile list`, and downstream in breadbar and bos-settings. Now the self-heal only fires when the profile set is completely empty (a genuinely fresh or corrupted config), never padding an existing customized set.
This commit is contained in:
parent
941742c5b6
commit
b786060517
3 changed files with 29 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "breadcrumbs"
|
||||
version = "2.1.4"
|
||||
version = "2.1.5"
|
||||
edition = "2021"
|
||||
description = "Profile-aware Wi-Fi state machine with Tailscale handling and self-healing watch daemon"
|
||||
license = "MIT"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue