View Single Post
09-02-19, 04:35 PM   #3
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Originally Posted by yess View Post
I just noticed that if I change the default table given to AceDB it will also change for current installations of the addon when the user updates it.

This did upset a few user.

It's magic, so any defaults that were not changed by the user are changed to the new version of your default table. I don't understand how users would get upset by that. It should be intended functionality

Originally Posted by yess View Post
How can I distinguish between update and new install.

Is saving the addons version and then comparing it good idea?

Yes you could probably try saving the addon version somewhere in the AceDB SavedVariables or a separate savedvar and then compare

Not sure how you would not change any current installations while still being able to change the default table for newer versions unless you want to keep multiple versions around of your default table when passing it to AceDB

Last edited by Ketho : 09-02-19 at 06:17 PM.
  Reply With Quote