Bug 1639011 - Adding a marker on conditioned profiles. r=sparky

This patch will add a marker on conditioned profiles
when they are being used via client.py

Differential Revision: https://phabricator.services.mozilla.com/D75829
This commit is contained in:
Tarek Ziadé 2020-05-19 13:34:08 +00:00
parent abd500dfbc
commit 5ba63d00e0

View File

@ -92,6 +92,9 @@ def _check_profile(profile_dir):
# Raptor web extension won't be able to run.
cleaned_prefs["extensions.startupScanScopes"] = 1
# adding a marker so we know it's a conditioned profile
cleaned_prefs["profile.conditioned"] = True
with open(js_file, "w") as f:
Preferences.write(f, cleaned_prefs)