1
0
Fork 0
mirror of https://github.com/foxlet/macOS-Simple-KVM.git synced 2024-12-25 19:29:43 +01:00

[TOOLS] Set default FMOS catalog to PublicRelease.

This commit is contained in:
Foxlet 2019-04-23 22:55:42 -04:00
parent 17ea14461a
commit 163ff33f7b

View file

@ -101,10 +101,10 @@ class MacOSProduct:
@click.command()
@click.option('-o', '--output-dir', default="BaseSystem/", help="Target directory for package output.")
@click.option('-c', '--catalog-id', default="DeveloperSeed", help="Name of catalog.")
@click.option('-c', '--catalog-id', default="PublicRelease", help="Name of catalog.")
@click.option('-p', '--product-id', default="", help="Product ID (as seen in SoftwareUpdate).")
@click.option('-l', '--latest', is_flag=True, help="Get latest available macOS package.")
def fetchmacos(output_dir="BaseSystem/", catalog_id="DeveloperSeed", product_id="", latest=False):
def fetchmacos(output_dir="BaseSystem/", catalog_id="PublicRelease", product_id="", latest=False):
# Get the remote catalog data
remote = SoftwareService(catalog_id)
catalog = remote.getcatalog()