mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
BuildMacOSUniversalBinary: Add flag to disable the auto updater
This commit is contained in:
parent
09f326dc7d
commit
42ea36643a
@ -74,6 +74,9 @@ DEFAULT_CONFIG = {
|
||||
|
||||
# Whether we should make a build for Steam.
|
||||
"steam": False,
|
||||
|
||||
# Whether our autoupdate functionality is enabled or not.
|
||||
"autoupdate": True
|
||||
}
|
||||
|
||||
# Architectures to build for. This is explicity left out of the command line
|
||||
@ -127,6 +130,12 @@ def parse_args(conf=DEFAULT_CONFIG):
|
||||
action="store_true",
|
||||
default=conf["steam"])
|
||||
|
||||
parser.add_argument(
|
||||
"--autoupdate",
|
||||
help="Enables our autoupdate functionality",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
default=conf["autoupdate"])
|
||||
|
||||
parser.add_argument(
|
||||
"--codesign",
|
||||
help="Code signing identity to use to sign the applications",
|
||||
@ -304,7 +313,9 @@ def build(config):
|
||||
+ config["codesign_identity"],
|
||||
'-DMACOS_CODE_SIGNING="ON"',
|
||||
"-DSTEAM="
|
||||
+ python_to_cmake_bool(config["steam"])
|
||||
+ python_to_cmake_bool(config["steam"]),
|
||||
"-DENABLE_AUTOUPDATE="
|
||||
+ python_to_cmake_bool(config["autoupdate"]),
|
||||
],
|
||||
env=env, cwd=arch)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user