fix build variable.

This commit is contained in:
Matthew Stratford 2021-04-11 20:40:25 +01:00
parent ecbab09f61
commit c2b5a5ba34

View file

@ -514,11 +514,10 @@ def startServer():
state = StateManager("BAPSicleServer", logger, default_state) state = StateManager("BAPSicleServer", logger, default_state)
# TODO: Check these match, if not, trigger any upgrade noticies / welcome # TODO: Check these match, if not, trigger any upgrade noticies / welcome
state.update("server_version", config.VERSION) state.update("server_version", config.VERSION)
build_commit = "Dev"
if isBundelled(): if isBundelled():
build = build.BUILD build_commit = build.BUILD
else: state.update("server_build", build_commit)
build = "Dev"
state.update("server_build", build)
if isMacOS(): if isMacOS():
multiprocessing.set_start_method("spawn", True) multiprocessing.set_start_method("spawn", True)