mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 17:33:30 -05:00
fix: name release assets as GitHub serves them
This commit is contained in:
1 parent
a08827257d
commit
dbd47886ce
4 files changed
+35
-4
No files matched your search
@@ -2018,11 +2018,12 @@ def _fetch_url(path: str) -> str:
|
||||
LARGE_FILES_RELEASE,
|
||||
asset_names,
|
||||
load_registered_paths,
|
||||
published_asset_name,
|
||||
)
|
||||
|
||||
_RELEASE_ASSET_NAMES = {
|
||||
registered: f"{REPO_URL}/releases/download/{LARGE_FILES_RELEASE}/"
|
||||
+ urllib.parse.quote(name.replace(" ", "."))
|
||||
+ urllib.parse.quote(published_asset_name(name))
|
||||
for registered, name in asset_names(load_registered_paths()).items()
|
||||
}
|
||||
return _RELEASE_ASSET_NAMES.get(path) or (
|
||||
|
||||
Reference in new issue
Block a user