Обновление вывода информации о патчах, добавление патча лайков/дизлайков
This commit is contained in:
@@ -19,6 +19,7 @@ def ensure_dirs():
|
||||
for d in [TOOLS, ORIGINAL, MODIFIED, DECOMPILED, PATCHES, CONFIGS]:
|
||||
d.mkdir(exist_ok=True)
|
||||
|
||||
|
||||
def run(console: Console, cmd: List[str], hide_output=True):
|
||||
prog = local[cmd[0]][cmd[1:]]
|
||||
try:
|
||||
@@ -28,6 +29,7 @@ def run(console: Console, cmd: List[str], hide_output=True):
|
||||
console.print(e.stderr)
|
||||
raise typer.Exit(1)
|
||||
|
||||
|
||||
def download(console: Console, url: str, dest: Path):
|
||||
console.print(f"[cyan]Скачивание {url} → {dest.name}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user