From 0c11152e29ece6ae72c4915752157e424c833a79 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 16 Sep 2024 15:55:46 -0700 Subject: [PATCH] Fix integration file fetching Had incorrect URLs for dist and raw files --- unhacs/packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: