floating / frame

System-wide Web3 for macOS, Windows and Linux

Home Page:https://frame.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

config.json corruption when out of disk space

michaelni opened this issue · comments

The
$HOME/.config/frame*/config.json
file seems to be overwritten with a new one and if diskspace runs out in the middle the file is left truncated. At least that seems to have happened (i did run out of diskspace and found a truncated config.json)
It would be more robust to write into a new file and then replace/rename that over the old. That way a out of diskspace situation would not affect the existing configuration