mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-26 19:36:46 -06:00
state.json holds online owner tokens. The temporary file is now created 0600 (and narrowed if a crash left one behind) before anything is written, and the rename carries that mode to state.json, so an older world-readable file is replaced on the next save. Co-authored-by: Justin John <babyjjbabyjj549@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>