瀏覽代碼

dev toggle scripts toggle animated background

tags/4.0.0
Kevin 2 月之前
父節點
當前提交
7780093898
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. +1
    -0
      scripts/disable-dev-config.py
  2. +1
    -0
      scripts/enable-dev-config.py

+ 1
- 0
scripts/disable-dev-config.py 查看文件

@@ -26,6 +26,7 @@ conf['transports']['tor'] = True
conf['transports']['sneakernet'] = True
conf['statistics']['i_dont_want_privacy'] = False
conf['statistics']['server'] = ''
conf['ui']['animated_background'] = True

json.dump(conf, open('static-data/default_config.json', 'w'), sort_keys=True, indent=4)


+ 1
- 0
scripts/enable-dev-config.py 查看文件

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


Loading…
取消
儲存