mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
✨ Ability to provide patch resource locally
This commit is contained in:
@@ -66,6 +66,8 @@ class APP(object):
|
||||
from src.downloader.github import Github
|
||||
|
||||
url = Github.patch_resource(url, assets_filter, config)
|
||||
elif url.startswith("local://"):
|
||||
return url.split("/")[-1]
|
||||
if not file_name:
|
||||
extension = pathlib.Path(url).suffix
|
||||
file_name = APP.generate_filename(url) + extension
|
||||
|
||||
Reference in New Issue
Block a user