diff --git a/scripts/bundles/desktop_inputs.py b/scripts/bundles/desktop_inputs.py index 375ca9a0f8..5a21f163d9 100644 --- a/scripts/bundles/desktop_inputs.py +++ b/scripts/bundles/desktop_inputs.py @@ -47,11 +47,12 @@ def identity_environment(request: BuildRequest, variant: str, inherited: Mapping request.validate_channel() if request.channel_request is not None and variant != "bundled": raise ValueError("channel builds currently support only the bundled variant") + bundle_env = {**request.bundle_env, "HERMES_GUEST_ONBOARDING": "1"} if variant == "store" else request.bundle_env env = dict(inherited) env.update(CI="true", PYTHONUTF8="1", GITHUB_SHA=request.commit, HERMES_DESKTOP_VARIANT=variant, HERMES_PAYLOAD_VERSION=request.version, - HERMES_BUNDLE_ENV_JSON=json.dumps(request.bundle_env, sort_keys=True)) + HERMES_BUNDLE_ENV_JSON=json.dumps(bundle_env, sort_keys=True)) if request.release_epoch is None: env.pop("HERMES_RELEASE_EPOCH", None) else: