mirror of
https://github.com/ikunshare/Onekey.git
synced 2026-01-12 16:25:53 +08:00
feat: 优化
This commit is contained in:
10
main.py
10
main.py
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user