Skip to content
Permalink
Browse files
Merge pull request #11657 from OatmealDome/macos-distributor
BuildMacOSUniversalBinary: Add support for setting the distributor
  • Loading branch information
delroth committed Mar 15, 2023
2 parents 4281606 + d340cad commit b43f832
Showing 1 changed file with 10 additions and 1 deletion.
@@ -76,7 +76,10 @@
"steam": False,

# Whether our autoupdate functionality is enabled or not.
"autoupdate": True
"autoupdate": True,

# The distributor for this build.
"distributor": "None"
}

# Architectures to build for. This is explicity left out of the command line
@@ -136,6 +139,11 @@ def parse_args(conf=DEFAULT_CONFIG):
action=argparse.BooleanOptionalAction,
default=conf["autoupdate"])

parser.add_argument(
"--distributor",
help="Sets the distributor for this build",
default=conf["distributor"])

parser.add_argument(
"--codesign",
help="Code signing identity to use to sign the applications",
@@ -316,6 +324,7 @@ def build(config):
+ python_to_cmake_bool(config["steam"]),
"-DENABLE_AUTOUPDATE="
+ python_to_cmake_bool(config["autoupdate"]),
'-DDISTRIBUTOR=' + config['distributor']
],
env=env, cwd=arch)

0 comments on commit b43f832

Please sign in to comment.