mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-03 20:44:36 +00:00
Signed-off-by: 26751 <2675174581@qq.com>
This commit is contained in:
4
main.py
4
main.py
@@ -378,6 +378,10 @@ def check_file():
|
||||
if not os.path.exists("cmdpriv.json"):
|
||||
shutil.copy("cmdpriv-template.json", "cmdpriv.json")
|
||||
|
||||
# 检查tips_custom
|
||||
if not os.path.exists("tips_custom.py"):
|
||||
shutil.copy("tips_custom_template.py", "tips_custom.py")
|
||||
|
||||
# 检查temp目录
|
||||
if not os.path.exists("temp/"):
|
||||
os.mkdir("temp/")
|
||||
|
||||
Reference in New Issue
Block a user