View Single Post
08-06-14, 08:43 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
It might help if you stated what your overall goal is. Are you trying to distribute a premade UI? If so, most people do that by just distributing their WTF folder, and using Reflux to switch to all the right profiles. If you want to avoid making users deal with WTF folder stuff, you could just save your entire saved variable in your addon, and if it's the first time the user has logged in with your addon (check by using your own saved variable), overwrite the "real" variable(s) with yours. You should probably show them a prompt first, so they know to go back up their own saved variables first if they don't want to lose all their settings. You'll also have to reload the UI afterwards.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote