diff --git a/unhacs/packages.py b/unhacs/packages.py index ccae4dc..c8048cd 100644 --- a/unhacs/packages.py +++ b/unhacs/packages.py @@ -216,9 +216,9 @@ class Package: def real_get(filename) -> requests.Response | None: urls = [ - f"https://raw.githubusercontent.com/{self.owner}/{self.version}/dist/{filename}", + f"https://raw.githubusercontent.com/{self.owner}/{self.name}/{self.version}/dist/{filename}", f"https://github.com/{self.owner}/{self.name}/releases/download/{self.version}/{filename}", - f"https://raw.githubusercontent.com/{self.owner}/{self.version}/{filename}", + f"https://raw.githubusercontent.com/{self.owner}/{self.name}/{self.version}/{filename}", ] for url in urls: