mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🎨 Handle release when project is forked.
This commit is contained in:
@@ -123,6 +123,8 @@ class APP(object):
|
||||
from src.downloader.github import Github
|
||||
|
||||
tag, url = Github.patch_resource(url, assets_filter, config)
|
||||
if tag.startswith("tags/"):
|
||||
tag = tag.split("/")[-1]
|
||||
elif url.startswith("local://"):
|
||||
return tag, url.split("/")[-1]
|
||||
if not file_name:
|
||||
|
||||
Reference in New Issue
Block a user