mirror of
https://github.com/Melon-Bread/RetroUFO
synced 2024-11-24 16:28:30 -05:00
Forgot to finish refactoring
This commit is contained in:
parent
ddb4af9772
commit
4ab73eb6b8
@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = "Melon Bread"
|
__author__ = "Melon Bread"
|
||||||
__version__ = "0.9.0"
|
__version__ = "0.9.1"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
@ -31,9 +31,9 @@ def main(_args):
|
|||||||
# If a platform and/or architecture is not supplied it is grabbed automatically
|
# If a platform and/or architecture is not supplied it is grabbed automatically
|
||||||
target_platform = _args.platform if _args.platform else get_platform()
|
target_platform = _args.platform if _args.platform else get_platform()
|
||||||
architecture = _args.architecture if _args.architecture else get_architecture()
|
architecture = _args.architecture if _args.architecture else get_architecture()
|
||||||
location = _args.location if _args.location else CORE_LOCATION[platform]
|
location = _args.location if _args.location else CORE_LOCATION[target_platform]
|
||||||
|
|
||||||
download_cores(platform, architecture)
|
download_cores(target_platform, architecture)
|
||||||
extract_cores(location)
|
extract_cores(location)
|
||||||
|
|
||||||
if not args.keep:
|
if not args.keep:
|
||||||
|
Loading…
Reference in New Issue
Block a user