GUI development

This commit is contained in:
BarsTiger
2022-01-27 13:46:26 +02:00
parent afbd4c995f
commit 4b55081693
6 changed files with 162 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ import zipfile
from modules.virustotal import get_key, scan_file, get_report
def install(package, is_gui=False):
def install(package, is_gui=False, UiDownloadWindow=None, ui_download=None):
r = requests.get(f"{horsy_vars.protocol}{horsy_vars.server_url}/packages/json/{package}").text
if r == "":
print(f"[red]Package {package} not found[/]")