lcurse icon indicating copy to clipboard operation
lcurse copied to clipboard

Randomly installs classic versions

Open zerodogg opened this issue 5 years ago • 5 comments

Using the latest version of lcurse it is randomly chosing to install "classic" versions of mods rather than the live versions. It has done this to, among others, AdvancedInterfaceOptions, DBM Voicepack VEM, Details! Damage Meter, GTFO and Prat 3.0

zerodogg avatar Sep 02 '19 11:09 zerodogg

hi, not a maintainer of lcurse, but the issue lies about here: https://github.com/ephraim/lcurse/blob/4a22aa1607ddce818bf0a4d69f31d5fef160601b/modules/waitdlg.py#L192-L201

it's because curseforge relatively recently allowed 'classic' releases of their addons, as well as alpha/beta/alternate releases that lcurse already seems to do.

This is really bad form on my part, but there are other addon managers that support classic here: https://github.com/ogri-la/wowman#other-addon-managers

torkus avatar Sep 11 '19 00:09 torkus

I do have it working in my version, I PR'ed my changes in #80 in case that helps.

timwienk avatar Sep 11 '19 16:09 timwienk

Since #80 is merged, I think this is solved and can be closed.

timwienk avatar Oct 16 '19 20:10 timwienk

I've taken a look at the code changes and read the commit messages and I'm still not clear on whether lcurse actually supports the installation of classic addons from curseforge or is just ignoring them ... I ask because my data may be wrong ;)

torkus avatar Oct 19 '19 10:10 torkus

It supports Classic as well. It should even work for PTR as well, provided if it's installed in the same WoW directory.

  • supported WoW folders/directories: retail, classic, ptr
  • separate addon JSON files: addons.json, addons_classic.json, addons_ptr.json
  • code that tries to find the right addon version:
    • when installing for WoW Retail, it skips Classic addons
    • when installing for WoW Classic, it allows Retail addons when there is no Classic version of the addon
    • figuring out whether an addon is for Retail or Classic, is done in a bit of a naive way, but it works in practice: basically the addon should support either 1.x for Classic or 8.x or higher for Retail, or support multiple versions (= contain a + in the supported versions)

timwienk avatar Oct 19 '19 20:10 timwienk