mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 18:47:53 -06:00
refactor: raise download errors to the command
release.latest no longer reads RETROBIOS_API at import: download.py checks it and passes the endpoint to get_latest_release. The release modules raise DownloadError and hand progress lines to a callback, so download.py reports every failure on stderr with exit code 1, the missing release included.
This commit is contained in:
1 parent
ebabb03e74
commit
758bc76b6f
6 files changed
+173
-81
No files matched your search
+1
-1
@@ -147,7 +147,7 @@ COMMANDS = {
|
||||
),
|
||||
"download.py": (
|
||||
"release/latest.py", "release/packgroups.py", "release/transfer.py", "release/packfetch.py",
|
||||
"release/packinfo.py",
|
||||
"release/packinfo.py", "release/downloaderror.py",
|
||||
),
|
||||
"cleanup_disk.py": ("devtools/diskcleanup.py",),
|
||||
"migrate.py": ("devtools/biosclassify.py", "devtools/biosmigrate.py"),
|
||||
|
||||
Reference in new issue
Block a user