From 30cf1a30304c219f245712121916e862db4502aa Mon Sep 17 00:00:00 2001 From: CrafterPika Date: Wed, 19 Feb 2025 12:42:25 +0100 Subject: [PATCH] update github url --- autofetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autofetch.py b/autofetch.py index 78b0f0b..8c76b87 100644 --- a/autofetch.py +++ b/autofetch.py @@ -13,11 +13,11 @@ def fetch(url: str): req.add_header("User-Agent", "RyujinxLatestFetch/1.0") return urlopen(req).read() -latest = json.loads(fetch("https://api.github.com/repos/GreemDev/Ryujinx-Canary/releases/latest")) +latest = json.loads(fetch("https://api.github.com/repos/Ryubing/Canary-Releases/releases/latest")) if not args.ver: for asset in latest["assets"]: regex = type(re.search(r"\/(?!sdl2-.*)ryujinx-.*-linux_x64.tar.gz", asset["browser_download_url"])) if regex == re.Match: print(asset["browser_download_url"]) else: - print(latest["tag_name"]) \ No newline at end of file + print(latest["tag_name"])