mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
fix: name the platform a typo meant in every CLI
slots ended a mistyped --platform on a traceback; generate_truth, refresh_data_dirs and auto_fetch exited 0 having done nothing for it. All six now stop on require_platform before any work.
This commit is contained in:
1 parent
803f9dce96
commit
195fb92036
7 files changed
+48
-4
No files matched your search
@@ -25,7 +25,7 @@ import urllib.request
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
from artifacts import file_lock as _file_lock
|
||||
from common import yaml_load
|
||||
from common import require_platform, yaml_load
|
||||
|
||||
try:
|
||||
import yaml
|
||||
@@ -539,6 +539,9 @@ def main() -> None:
|
||||
format="%(message)s",
|
||||
)
|
||||
|
||||
if args.platform:
|
||||
# The registry sits in the platforms directory it serves.
|
||||
require_platform(args.platform, os.path.dirname(args.registry) or ".")
|
||||
registry = load_registry(args.registry)
|
||||
|
||||
if args.key:
|
||||
|
||||
Reference in new issue
Block a user