执行完整的更新流程
(self)
| 109 | return False |
| 110 | |
| 111 | def run_update(self) -> bool: |
| 112 | """执行完整的更新流程""" |
| 113 | print("开始统计书源数量...") |
| 114 | |
| 115 | # 统计各平台书源数量 |
| 116 | counts = self.get_all_source_counts() |
| 117 | |
| 118 | print("书源统计结果:") |
| 119 | print(f" 阅读 (Legado): {counts['legado']} 个") |
| 120 | print(f" 香色闺阁: {counts['xsreader']} 个") |
| 121 | |
| 122 | # 更新 README |
| 123 | return self.update_readme(counts) |
| 124 | |
| 125 | def main(): |
| 126 | import argparse |
no test coverage detected