mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 19:30:00 +00:00
ClassicAPI redirects the read of pfUI\pfUI.toc to a flavored file whenever
the DLL is installed, so which TOC the client opens already answers whether
ClassicAPI is there. Split the manifest three ways and let that do the work:
pfUI.toc fallback, reached only when ClassicAPI is missing;
loads API_Check.lua and nothing else
pfUI_ClassicAPI.toc full addon, every non-Turtle client
pfUI_Turtle.toc full addon plus init\turtle.xml, on Turtle
The fallback TOC declares no SavedVariables. It used to, while API_Check.lua
reset pfUI_profiles to an empty table on the disabled path -- which truncated
the player's profiles on logout.
With the missing-DLL case handled by TOC selection, API_Check.lua drops the
null object stub that kept the other ~140 files quiet, along with
pfUI_disabled and the now unreachable early return in pfUI.lua. It keeps the
version gate, which still matters: the flavor redirect landed in ClassicAPI
v1.11.0, below the v1.13.1 pfUI needs, so an old DLL still gets served a
flavor TOC. pfUI.lua also loses a verbatim duplicate of the whole check.
Turtle-only files move to init\turtle.xml: modules\turtle-wow.lua (its
TURTLE_WOW_VERSION guard is now redundant) and the lft, turtle_shop,
barbershop, transmog and ebc skins. turtle-wow registers last instead of
75th of 84; the only ordering it relies on is pfUI.chat, registered 8th.
pfSellData moves to env\selldata.lua, listed only in pfUI_ClassicAPI.toc,
since turtle-wow.lua replaces the table wholesale on Turtle. env\tables.lua
keeps an empty declaration so sellvalue.lua has something to index when the
turtle-wow module is disabled.
The release workflow pinned PFUI_CLASSIC_API_LATEST in pfUI.lua, which has
not held that constant since it moved to API_Check.lua, so the pin was
silently doing nothing. It also switches to brues-code/packager@vCAPI, which
recognizes the _ClassicAPI and _Turtle suffixes and applies the TOC build
type filters to them.
84 lines
3.6 KiB
XML
84 lines
3.6 KiB
XML
<Ui xmlns="http://www.blizzard.com/wow/ui/">
|
|
<Include file="..\modules\gui.lua"/>
|
|
<Include file="..\modules\unlock.lua"/>
|
|
<Include file="..\modules\hoverbind.lua"/>
|
|
<Include file="..\modules\updatenotify.lua"/>
|
|
<Include file="..\modules\actionbar.lua"/>
|
|
<Include file="..\modules\gryphons.lua"/>
|
|
<Include file="..\modules\hunterbar.lua"/>
|
|
<Include file="..\modules\chat.lua"/>
|
|
<Include file="..\modules\whisperproxy.lua"/>
|
|
<Include file="..\modules\chatcopy.lua"/>
|
|
<Include file="..\modules\bubbles.lua"/>
|
|
<Include file="..\modules\addons.lua"/>
|
|
<Include file="..\modules\minimap.lua"/>
|
|
<Include file="..\modules\panel.lua"/>
|
|
<Include file="..\modules\player.lua"/>
|
|
<Include file="..\modules\focus.lua"/>
|
|
<Include file="..\modules\target.lua"/>
|
|
<Include file="..\modules\combopoints.lua"/>
|
|
<Include file="..\modules\swingtimer.lua"/>
|
|
<Include file="..\modules\marktracking.lua"/>
|
|
<Include file="..\modules\targettarget.lua"/>
|
|
<Include file="..\modules\targettargettarget.lua"/>
|
|
<Include file="..\modules\pet.lua"/>
|
|
<Include file="..\modules\group.lua"/>
|
|
<Include file="..\modules\raid.lua"/>
|
|
<Include file="..\modules\mouseover.lua"/>
|
|
<Include file="..\modules\castbar.lua"/>
|
|
<Include file="..\modules\skin.lua"/>
|
|
<Include file="..\modules\xpbar.lua"/>
|
|
<Include file="..\modules\autoshift.lua"/>
|
|
<Include file="..\modules\autovendor.lua"/>
|
|
<Include file="..\modules\bags.lua"/>
|
|
<Include file="..\modules\itemclick.lua"/>
|
|
<Include file="..\modules\cooldown.lua"/>
|
|
<Include file="..\modules\tooltip.lua"/>
|
|
<Include file="..\modules\questitem.lua"/>
|
|
<Include file="..\modules\thirdparty.lua"/>
|
|
<Include file="..\modules\thirdparty-vanilla.lua"/>
|
|
<Include file="..\modules\buff.lua"/>
|
|
<Include file="..\modules\buffwatch.lua"/>
|
|
<Include file="..\modules\nameplates.lua"/>
|
|
<Include file="..\modules\loot.lua"/>
|
|
<Include file="..\modules\roll.lua"/>
|
|
<Include file="..\modules\infight.lua"/>
|
|
<Include file="..\modules\sellvalue.lua"/>
|
|
<Include file="..\modules\itemcount.lua"/>
|
|
<Include file="..\modules\eqcompare.lua"/>
|
|
<Include file="..\modules\map.lua"/>
|
|
<Include file="..\modules\mapcolors.lua"/>
|
|
<Include file="..\modules\uf_tukui.lua"/>
|
|
<Include file="..\modules\custom.lua"/>
|
|
<Include file="..\modules\gm.lua"/>
|
|
<Include file="..\modules\mirrortimers.lua"/>
|
|
<Include file="..\modules\feigndeath.lua"/>
|
|
<Include file="..\modules\pixelperfect.lua"/>
|
|
<Include file="..\modules\hdgraphic.lua"/>
|
|
<Include file="..\modules\share.lua"/>
|
|
<Include file="..\modules\tracking.lua"/>
|
|
<Include file="..\modules\easteregg.lua"/>
|
|
<Include file="..\modules\farmmode.lua"/>
|
|
<Include file="..\modules\pettarget.lua"/>
|
|
<Include file="..\modules\mapreveal.lua"/>
|
|
<Include file="..\modules\unusable.lua"/>
|
|
<Include file="..\modules\socialmod.lua"/>
|
|
<Include file="..\modules\firstrun.lua"/>
|
|
<Include file="..\modules\addonbuttons.lua"/>
|
|
<Include file="..\modules\afkcam.lua"/>
|
|
<Include file="..\modules\screenshot.lua"/>
|
|
<Include file="..\modules\addoncompat.lua"/>
|
|
<Include file="..\modules\energytick.lua"/>
|
|
<Include file="..\modules\totems.lua"/>
|
|
<Include file="..\modules\macrotweak.lua"/>
|
|
<Include file="..\modules\macroicons.lua"/>
|
|
<Include file="..\modules\superwow.lua"/>
|
|
<Include file="..\modules\innervatecall.lua"/>
|
|
<Include file="..\modules\nampower.lua"/>
|
|
<Include file="..\modules\unitxp.lua"/>
|
|
<Include file="..\modules\bgscore.lua"/>
|
|
<Include file="..\modules\equipmentmanager.lua"/>
|
|
<Include file="..\modules\loothistory.lua"/>
|
|
<Include file="..\modules\newitem.lua"/>
|
|
<Include file="..\modules\friendnotes.lua"/>
|
|
</Ui> |