config.ini file is overriden by update where and how to keep user defined variables

无人久伴 提交于 2019-12-12 04:43:06

问题


We get the path of a file from user and keep it in config.ini to start eclipse. But when we update we see that config.ini file is overriden and we loose the information we got and saved in config.ini File.

Where should I use to keep user parameters. Is it possbile to keep a configuration parameter not overriden in config.ini file after an update ? (For example I want to keep a certain key-value pair.) If not how do you prefer to keep user parameters and where ?


回答1:


If not how do you prefer to keep user parameters and where ?

Store them in the user's home directory.



来源:https://stackoverflow.com/questions/33694437/config-ini-file-is-overriden-by-update-where-and-how-to-keep-user-defined-variab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!