提交 1506c165 编写于 作者: H hjdhnx

增加custom.conf生成脚本

上级 b5a6ad00
......@@ -176,5 +176,10 @@ def gen_cache(path='txt/js/tg'):
if __name__ == '__main__':
print(getRuleLists())
print(gen_cache())
print(gen_cache('txt/js/18'))
\ No newline at end of file
# print(gen_cache())
# print(gen_cache('txt/js/18'))
custom_file = gen_cache() + '\n'+gen_cache('txt/js/18')
print(custom_file)
with open('custom.conf','w+',encoding='utf-8') as f:
f.write(custom_file)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册