2 Commits
Author SHA1 Message Date
Xubin Ren b2cf37da4a fix(config): preserve permissions during atomic save 2026-07-21 17:33:39 +08:00
santhrealandXubin Ren 28102382af fix(config): write config.json atomically via temp+replace
save_config truncated config.json in place on crash mid-write.
Route through _write_text_atomic like the pairing store so a failed write leaves the prior file intact.
2026-07-21 17:33:39 +08:00