Originally Posted by Nimhfree
I just write my addon with logic inside that determines whether it is running a version that changes API usage, etc. so the same addon can be used in live and beta.
|
I also use this approach.
It's safer and as long as you consistently use the same detection variable throughout (I use a local 'isLegion' that is limited to addon-scope), it is easy to update everything once 7.0 is out to no longer support 6.x clients (just pull out all the code from those 'if' statements and trash the 'else' statements).
Everybody wins.