diff --git a/update_files.py b/update_files.py index 09ce487..189c41b 100644 --- a/update_files.py +++ b/update_files.py @@ -8,7 +8,7 @@ def download_file(url): """使用 curl 下载文件内容""" result = subprocess.run(["curl", "-s", url], capture_output=True, text=True) if result.returncode != 0: - print(f"下载 {url} 时出错,跳过。") + print(f"❌ 下载 {url} 时出错,跳过。") return None return result.stdout @@ -51,7 +51,7 @@ def main(): with open(rel_path, "w", encoding="utf-8") as f: f.write(new_content) - print(f"更新了 {rel_path}") + print(f"🚀 更新了 {rel_path}") modified = True # 如果有修改则提交到仓库