beqa (il 31/08/2013 1.38) ha scritto:
when we are deleting an addon and installing it again we aren't losting config, this is the reason why configs are stored in the root of config folder
Alberto: hi all,I don't experienced it yet, but, using installTasks.onUninstall, it would be possible to ask the user if he wants to keep the settings, and, if yes, move (only at this time) the .ini file to the root of config folder (eventually renaming it to a significative name). Obviously, the onInstall task would do vice versa... This will be a more equilibrate and reasonably garbage-free approach, IMHO. If it's possible, of course.
Alberto ---------------------------------------------------------------- NVDA add-ons Central: A list for discussing NVDA add-ons To post a message, send an email to nvda-addons@xxxxxxxxxxxxx. To unsubscribe, send an email with the subject line of "unsubscribe" (without quotes) to nvda-addons-request@xxxxxxxxxxxxx. If you have questions for list moderators, please send a message to nvda-addons-moderators@xxxxxxxxxxxxx. Community addons can be found here: http://addons.nvda-project.org