feat: 优化

This commit is contained in:
ikun
2024-09-20 20:02:21 +08:00
parent 8ee7765bb0
commit 4aa1c22c25
8 changed files with 71 additions and 52 deletions

10
main.py
View File

@@ -2,6 +2,8 @@ import os
import time
import asyncio
from colorama import Fore, Back, Style
from colorama import init as cinit
from common.log import log
from common.stack_error import stack_error
from common.init_text import init
@@ -10,17 +12,19 @@ from common.main_func import main
lock = asyncio.Lock()
init()
cinit()
repos = [
'ikun0014/ManifestHub',
'Auiowu/ManifestAutoUpdate',
'tymolu233/ManifestAutoUpdate'
'tymolu233/ManifestAutoUpdate',
]
if __name__ == '__main__':
try:
log.info('❗ App ID可以在SteamDB或Steam商店链接页面查看')
while True:
log.info('App ID可以在SteamDB或Steam商店链接页面查看')
app_id = input("请输入游戏AppID").strip()
app_id = input(f"{Fore.CYAN}{Back.BLACK}{Style.BRIGHT}🤔 请输入游戏AppID{Style.RESET_ALL}").strip()
asyncio.run(main(app_id, repos))
except KeyboardInterrupt:
exit()