Additional fixes for downloading O3DE objects, and using the cache folder
Signed-off-by: AMZN-Phil <pconroy@amazon.com>
This commit is contained in:
+6
-2
@@ -29,12 +29,13 @@ def add_args(parser, subparsers) -> None:
|
||||
# add the scripts/o3de directory to the front of the sys.path
|
||||
sys.path.insert(0, str(o3de_package_dir))
|
||||
from o3de import engine_properties, engine_template, gem_properties, global_project, register, print_registration, get_registration, \
|
||||
enable_gem, disable_gem, project_properties, sha256
|
||||
enable_gem, disable_gem, project_properties, sha256, download
|
||||
# Remove the temporarily added path
|
||||
sys.path = sys.path[1:]
|
||||
|
||||
# global_project
|
||||
global_project.add_args(subparsers)
|
||||
|
||||
# engine templaate
|
||||
engine_template.add_args(subparsers)
|
||||
|
||||
@@ -61,10 +62,13 @@ def add_args(parser, subparsers) -> None:
|
||||
|
||||
# modify gem properties
|
||||
gem_properties.add_args(subparsers)
|
||||
|
||||
|
||||
# sha256
|
||||
sha256.add_args(subparsers)
|
||||
|
||||
# download
|
||||
download.add_args(subparsers)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# parse the command line args
|
||||
|
||||
Reference in New Issue
Block a user