Giteabot 8302b95d6b
Avoid polluting config file when "save" (#25395) (#25406)
Backport #25395 by @wxiaoguang

That's a longstanding INI package problem: the "MustXxx" calls change
the option values, and the following "Save" will save a lot of garbage
options into the user's config file.

Ideally we should refactor the INI package to a clear solution, but it's
a huge work.

A clear workaround is what this PR does: when "Save", load a clear INI
instance and save it.

Partially fix #25377, the "install" page needs more fine tunes.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-21 04:51:26 +00:00
..
2023-05-08 19:49:59 +08:00
2023-05-21 22:35:11 +00:00
2023-05-21 22:35:11 +00:00
2023-05-21 22:35:11 +00:00
2023-05-08 19:49:59 +08:00
2023-05-21 22:35:11 +00:00
2023-04-13 15:45:33 -04:00
2023-02-20 16:18:26 -06:00
2023-05-31 02:07:04 +00:00