Onionr/scripts/disable-dev-config.py

20 lines
499 B
Python
Raw Permalink Normal View History

2020-02-02 06:55:39 +00:00
#!/usr/bin/env python3
"""Enable dev default config"""
import json
conf = json.load(open('static-data/default_config.json', 'r'))
conf['general']['dev_mode'] = False
conf['general']['display_header'] = True
conf['general']['security_level'] = 0
conf['onboarding']['done'] = False
conf['log']['file']['remove_on_exit'] = True
conf['ui']['animated_background'] = True
2021-02-21 02:29:00 +00:00
conf['runtests']['skip_slow'] = False
2020-02-02 06:55:39 +00:00
json.dump(conf, open('static-data/default_config.json', 'w'), sort_keys=True, indent=4)