Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #179 from grrttedwards/release/1.9.0
Browse files Browse the repository at this point in the history
1.9.0
  • Loading branch information
grrttedwards authored May 19, 2021
2 parents 1d388e8 + 41b14ed commit 8248cae
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Unreleased
-

## v1.9.0 - 05/19/2020
- Add support for TBC Classic addons from Curse

## v1.8.1 - 04/09/2021
- Upgrade dependency versions to fix broken Curse addons
- Fix for better support running in WSL
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This utility provides an alternative to the Twitch/Curse client for management and updating of addons for World of Warcraft. The Twitch/Curse client is rather bloated and buggy, and comes with many features that most users will not ever use in the first place. This utility, however, is lightweight and makes it very easy to manage which addons are being updated, and to update them just by running a python script.

_Supporting both retail and classic addons!_
_Supporting retail, classic and tbc addons!_

[![Build Status](https://github.com/grrttedwards/wow-addon-updater/workflows/Build%20and%20test%20wow-addon-updater/badge.svg?branch=master)](https://github.com/grrttedwards/wow-addon-updater/actions?query=workflow%3A%22Build+and+test+wow-addon-updater%22+branch%3Amaster)

Expand Down Expand Up @@ -106,7 +106,7 @@ It requires that some properties be set, if you do not want to use the defaults
- (default `= installed.ini`)

- `Game Version`
- The game version (either `retail` or `classic`) that you would like to target for addons
- The game version (`retail`, `classic` or `tbc`) that you would like to target for addons
- (default `= retail`)

## Multiple configurations
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.8.1
v1.9.0
2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
WoW Addon Location = C:\Program Files (x86)\World of Warcraft\_retail_\Interface\AddOns
Addon List File = addons.txt
Installed Versions File = installed.ini
# retail or classic
# retail,classic or tbc
Game Version = retail
2 changes: 1 addition & 1 deletion test/site/test_curse.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class VersionTestData:
supported_game_versions: Collection[GameVersion]


ALL_VERSIONS = (GameVersion.classic, GameVersion.retail, GameVersion.agnostic)
ALL_VERSIONS = (GameVersion.classic, GameVersion.retail, GameVersion.agnostic,GameVersion.tbc)

version_test_data = [
VersionTestData(url='https://www.curseforge.com/wow/addons/classiccodex',
Expand Down
2 changes: 2 additions & 0 deletions updater/site/curse.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def versions(self, *, page=1) -> Generator[CurseAddonVersion, None, None]:
"""
if self.game_version == GameVersion.classic:
game_version_filter = '1738749986:67408'
if self.game_version == GameVersion.tbc:
game_version_filter = '1738749986:73246'
elif self.game_version == GameVersion.retail:
game_version_filter = '1738749986:517'
else: # Agnostic version
Expand Down
1 change: 1 addition & 0 deletions updater/site/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class GameVersion(Enum):
agnostic = auto()
retail = auto()
classic = auto()
tbc = auto()


class AddonVersion(IntEnum):
Expand Down

0 comments on commit 8248cae

Please sign in to comment.