mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 11:20:01 +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.
41 lines
2.0 KiB
XML
41 lines
2.0 KiB
XML
<Ui xmlns="http://www.blizzard.com/wow/ui/">
|
|
<Include file="..\skins\blizzard\character.lua"/>
|
|
<Include file="..\skins\blizzard\inspect.lua"/>
|
|
<Include file="..\skins\blizzard\spellbook.lua"/>
|
|
<Include file="..\skins\blizzard\friends.lua"/>
|
|
<Include file="..\skins\blizzard\talents.lua"/>
|
|
<Include file="..\skins\blizzard\macro.lua"/>
|
|
<Include file="..\skins\blizzard\miscellaneous.lua"/>
|
|
<Include file="..\skins\blizzard\gossipquest.lua"/>
|
|
<Include file="..\skins\blizzard\professions.lua"/>
|
|
<Include file="..\skins\blizzard\auction.lua"/>
|
|
<Include file="..\skins\blizzard\questlog.lua"/>
|
|
<Include file="..\skins\blizzard\mail.lua"/>
|
|
<Include file="..\skins\blizzard\readycheck.lua"/>
|
|
<Include file="..\skins\blizzard\raidui.lua"/>
|
|
<Include file="..\skins\blizzard\battlefield_minimap.lua"/>
|
|
<Include file="..\skins\blizzard\battlefield_score.lua"/>
|
|
<Include file="..\skins\blizzard\survey.lua"/>
|
|
<Include file="..\skins\blizzard\keybindings.lua"/>
|
|
<Include file="..\skins\blizzard\merchant.lua"/>
|
|
<Include file="..\skins\blizzard\popup_dialogs.lua"/>
|
|
<Include file="..\skins\blizzard\stable.lua"/>
|
|
<Include file="..\skins\blizzard\trade.lua"/>
|
|
<Include file="..\skins\blizzard\trainer.lua"/>
|
|
<Include file="..\skins\blizzard\battlefield.lua"/>
|
|
<Include file="..\skins\blizzard\dressup.lua"/>
|
|
<Include file="..\skins\blizzard\game_menu.lua"/>
|
|
<Include file="..\skins\blizzard\guild_registrar.lua"/>
|
|
<Include file="..\skins\blizzard\help.lua"/>
|
|
<Include file="..\skins\blizzard\options-sound.lua"/>
|
|
<Include file="..\skins\blizzard\options-video.lua"/>
|
|
<Include file="..\skins\blizzard\options-new.lua"/>
|
|
<Include file="..\skins\blizzard\petition.lua"/>
|
|
<Include file="..\skins\blizzard\taxi.lua"/>
|
|
<Include file="..\skins\blizzard\tooltips.lua"/>
|
|
<Include file="..\skins\blizzard\tabard.lua"/>
|
|
<Include file="..\skins\blizzard\itemtext.lua"/>
|
|
|
|
<!-- Turtle WoW skins live in init\turtle.xml (pfUI_Turtle.toc only). -->
|
|
</Ui>
|