dev toggle scripts toggle animated background

master
Kevin 2020-06-27 18:00:31 -05:00
parent ee28aba792
commit 7780093898
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ conf['transports']['tor'] = True
conf['transports']['sneakernet'] = True conf['transports']['sneakernet'] = True
conf['statistics']['i_dont_want_privacy'] = False conf['statistics']['i_dont_want_privacy'] = False
conf['statistics']['server'] = '' conf['statistics']['server'] = ''
conf['ui']['animated_background'] = True
json.dump(conf, open('static-data/default_config.json', 'w'), sort_keys=True, indent=4) json.dump(conf, open('static-data/default_config.json', 'w'), sort_keys=True, indent=4)

View File

@ -27,6 +27,7 @@ conf['onboarding']['done'] = True
conf['general']['minimum_block_pow'] = block_pow conf['general']['minimum_block_pow'] = block_pow
conf['general']['minimum_send_pow'] = block_pow conf['general']['minimum_send_pow'] = block_pow
conf['log']['file']['remove_on_exit'] = False conf['log']['file']['remove_on_exit'] = False
conf['ui']['animated_background'] = False
if input('Stat reporting? y/n') == 'y': if input('Stat reporting? y/n') == 'y':
conf['statistics']['i_dont_want_privacy'] = True conf['statistics']['i_dont_want_privacy'] = True
conf['statistics']['server'] = input('Statistics server') conf['statistics']['server'] = input('Statistics server')