sirinsidiator / ESO-LibAddonMenu

http://www.esoui.com/downloads/info7-LibAddonMenu.html
Artistic License 2.0
41 stars 20 forks source link

"Raw" version of LAM mustn't retain r999 when bundled #46

Closed sirinsidiator closed 8 years ago

sirinsidiator commented 8 years ago

When the github version is not built with the ant build script, it uses r999 for development purposes (see #16). This causes released versions of LAM to not be loaded when someone accidentally bundles it with an addon instead of the correctly built version.

To fix this problem, the revision should be set in an extra file that is only loaded in stand alone mode and otherwise fall back to -1. local MAJOR, MINOR = "LibAddonMenu-2.0", _LAM2_VERSION_NUMBER or -1