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['tor']['use_existing_tor'] = False
|
|
|
|
conf['tor']['existing_control_port'] = 0
|
|
|
|
conf['tor']['existing_control_password'] = ""
|
|
|
|
conf['tor']['existing_socks_port'] = 0
|
|
|
|
|
|
|
|
conf['general']['dev_mode'] = False
|
|
|
|
conf['general']['insert_deniable_blocks'] = True
|
|
|
|
conf['general']['random_bind_ip'] = True
|
2020-02-12 06:58:15 +00:00
|
|
|
conf['general']['display_header'] = True
|
2020-03-19 06:01:05 +00:00
|
|
|
conf['general']['security_level'] = 0
|
2020-11-16 06:57:38 +00:00
|
|
|
conf['general']['use_bootstrap_list'] = True
|
2020-02-04 02:08:06 +00:00
|
|
|
conf['onboarding']['done'] = False
|
2020-02-04 03:35:46 +00:00
|
|
|
conf['general']['minimum_block_pow'] = 5
|
|
|
|
conf['general']['minimum_send_pow'] = 5
|
2020-02-08 09:07:07 +00:00
|
|
|
conf['log']['file']['remove_on_exit'] = True
|
2020-03-19 06:01:05 +00:00
|
|
|
conf['transports']['lan'] = True
|
|
|
|
conf['transports']['tor'] = True
|
2020-03-30 08:23:59 +00:00
|
|
|
conf['transports']['sneakernet'] = True
|
2020-03-31 09:00:48 +00:00
|
|
|
conf['statistics']['i_dont_want_privacy'] = False
|
|
|
|
conf['statistics']['server'] = ''
|
2020-06-27 23:00:31 +00:00
|
|
|
conf['ui']['animated_background'] = True
|
2020-02-02 06:55:39 +00:00
|
|
|
|
|
|
|
json.dump(conf, open('static-data/default_config.json', 'w'), sort_keys=True, indent=4)
|
|
|
|
|