:bytesized -- for the prefs (e.g. `app.update.enabled` or `app.update.auto`) you should be able to pass those via the `--pref` argument (at least in the CLI). For the policy, it is currently hardcoded and I don't think there's a way to achieve that right now without some code changes.
It looks like for policies, we just overwrite the whole file with `{"policies": {"DisableAppUpdate": True}}`. So one option is to add an argument that allows overriding policy keys/values, and make that available to the launcher before it starts (which currently does not have access to any of the arguments).
Bug 1777554 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
:bytesized -- for the prefs (e.g. `app.update.enabled` or `app.update.auto`) you should be able to pass those via the `--pref` argument (at least in the CLI). For the policy, it is currently hardcoded and I don't think there's a way to achieve that right now without some code changes.
It looks like for policies, we just overwrite the whole file with `{"policies": {"DisableAppUpdate": True}}`. So one option is to add an argument that allows overriding policy keys/values, and make that available to the launcher before it starts (which currently does not have access to any of the arguments before it starts).