feat: 尝试增加Gitee

This commit is contained in:
ikun0014
2024-11-11 23:32:27 +08:00
parent 8ca12ea7b0
commit 6b37034360
15 changed files with 66 additions and 27 deletions

View File

@@ -41,7 +41,7 @@ async def main_loop():
app_id = prompt_app_id()
await main(app_id, repos)
except KeyboardInterrupt:
log.info("\n 程序已退出")
log.info("程序已退出")
except EOFError:
break
@@ -51,7 +51,7 @@ async def run():
log.info('App ID可以在SteamDB或Steam商店链接页面查看')
await main_loop()
except KeyboardInterrupt:
log.info("\n 程序已退出")
log.info("程序已退出")
except Exception as e:
log.error(f'发生错误: {stack_error(e)}, 将在5秒后退出')
await asyncio.sleep(5)
@@ -60,6 +60,6 @@ if __name__ == '__main__':
try:
asyncio.run(run())
except KeyboardInterrupt:
log.info("\n 程序已退出")
log.info("程序已退出")
except SystemExit:
sys.exit()