chore: banlist模版移至根目录

This commit is contained in:
RockChinQ 2024-01-24 23:33:19 +08:00
parent a975718a64
commit b4bd86549e
3 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ sys.path.append(".")
def check_file():
# 检查是否有banlist.py,如果没有就把banlist-template.py复制一份
if not os.path.exists('banlist.py'):
shutil.copy('res/templates/banlist-template.py', 'banlist.py')
shutil.copy('banlist-template.py', 'banlist.py')
# 检查是否有sensitive.json
if not os.path.exists("sensitive.json"):

View File

@ -7,7 +7,7 @@ import sys
required_files = {
"config.py": "config-template.py",
"banlist.py": "res/templates/banlist-template.py",
"banlist.py": "banlist-template.py",
"tips.py": "tips-custom-template.py",
"sensitive.json": "res/templates/sensitive-template.json",
"scenario/default.json": "scenario/default-template.json",