Minor Doc Update

This commit is contained in:
UnCLAS-Prommer
2025-03-10 20:36:15 +08:00
parent ef561b5cf0
commit 68b3f578c4
5 changed files with 13 additions and 12 deletions

2
run.py
View File

@@ -107,6 +107,8 @@ def install_napcat():
napcat_filename = input(
"下载完成后请把文件复制到此文件夹,并将**不包含后缀的文件名**输入至此窗口,如 NapCat.32793.Shell"
)
if(napcat_filename[-4:] == ".zip"):
napcat_filename = napcat_filename[:-4]
extract_files(napcat_filename + ".zip", "napcat")
print("NapCat 安装完成")
os.remove(napcat_filename + ".zip")