Closed nangtrongvuon closed 4 years ago
hmm, this is confusing to me. What's the scenario where we open the preference folder and no config is found? Why wasn't it copied on startup? Is this like if the user manually deletes it?
@cmyr Yeah, pretty much. We only create preferences.xiconfig
on first run at the moment, when the Application Support folder for Xi hasn't existed yet. If the user deletes that config file (or it disappears for some reason), it causes what is described in #375.
@cmyr Sorry, I've been a bit occupied with some stuff along with not feeling too well in general, gonna get to this sometime this week!
@cmyr Got to updating this PR today with your suggestions, does it look okay now?
Also, is it me or is CI hidden?
@cmyr Thanks for the review! Was a tiny little bit hasty and tired when I was writing this a few weeks earlier, but I fixed it up with your feedback. Does it look good now?
Previously xi-mac only copied the base config file on startup - this commit makes it also copies the base config when the user opens the preference folder and no config is found.
closes #375
Review Checklist