Skip to content

Commit

Permalink
Fixed support of the development version of ElvUI
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Mar 30, 2024
1 parent c047fd1 commit abdd7b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CB/GitHub.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ def __init__(self, addon, apikey):
else:
self.payload = self.payload.json()
self.shorthPath = repository.split('/')[1]
self.downloadUrl = f'https://github.com/{repository}/archive/refs/heads/{self.branch}.zip'
if self.name in ['ElvUI']:
self.downloadUrl = f'https://api.tukui.org/v1/download/dev/{self.name.lower()}/{self.branch}'
else:
self.downloadUrl = f'https://github.com/{repository}/archive/refs/heads/{self.branch}.zip'

self.changelogUrl = f'https://github.com/{repository}/commits/{self.branch}'
self.currentVersion = self.payload['commit']['sha'][:7]
self.uiVersion = None
Expand Down
2 changes: 1 addition & 1 deletion CB/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import requests
from rich.terminal_theme import TerminalTheme

__version__ = '4.5.5'
__version__ = '4.6.0'
__license__ = 'GPLv3'
__copyright__ = '2019-2024, Paweł Jastrzębski <pawelj@iosphe.re>'
__docformat__ = 'restructuredtext en'
Expand Down

0 comments on commit abdd7b3

Please sign in to comment.