Fixes #351 (help improve zed dialog), hopefully. What this does in case a `user.json` file is corrupt (syntax errors) is make a backup under `user.backup.json` then write a new user.json with the preference (in this case enableAnalytics) written. This restores sanity without really losing configuration data.
Fixes #351 (help improve zed dialog), hopefully.
What this does in case a `user.json` file is corrupt (syntax errors) is
make a backup under `user.backup.json` then write a new user.json with
the preference (in this case enableAnalytics) written. This restores
sanity without really losing configuration data.

matejc/zed,matthiaskr/zed,matejc/zed,AaronZhangL/zed,AaronZhangL/zed,TheKiteEatingTree/zed,zedapp/zed,zedapp/zed,zedapp/zed,matejc/zed,XenonApp/xenon,LuoZijun/zed,AaronZhangL/zed,matthiaskr/zed,matthiaskr/zed,TheKiteEatingTree/zed,LuoZijun/zed,TheKiteEatingTree/zed,LuoZijun/zed,XenonApp/xenon