diff --git a/README.md b/README.md index 50cd6a3..c17f42b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # alt-app-installer-cli -alt app installer cli +A simple cli version of [alt app installer](https://github.com/mjishnu/alt-app-installer) + +![Screenshot 2024-06-20 134921-min](https://github.com/mjishnu/alt-app-installer-cli/assets/83004520/d47bdc96-ff57-43b0-bd96-c4c77ad18375) +![Screenshot 2024-06-20 135021-min](https://github.com/mjishnu/alt-app-installer-cli/assets/83004520/b9d217d5-8eb9-469c-9d9d-d2d31f3d42f1) +![Screenshot 2024-06-20 135001-min](https://github.com/mjishnu/alt-app-installer-cli/assets/83004520/e9975215-dbd6-4480-a879-7b682ee9abbb) diff --git a/app/data/System.Management.Automation.dll b/app/data/System.Management.Automation.dll deleted file mode 100644 index 8a528db..0000000 Binary files a/app/data/System.Management.Automation.dll and /dev/null differ diff --git a/app/download.py b/app/download.py index 14b0abb..cb74e38 100644 --- a/app/download.py +++ b/app/download.py @@ -3,16 +3,13 @@ import os from pypdl import PypdlFactory - from url_gen import url_generator -script_dir = os.path.dirname(os.path.abspath(__file__)) - def default_logger(name: str) -> logging.Logger: """Creates a default debugging logger.""" logger = logging.getLogger(name) - handler = logging.FileHandler(f"{script_dir}/log.txt", mode="a", delay=True) + handler = logging.FileHandler("log.txt", mode="a", delay=True) custom_format = ( f"[{name} logs] \n[%(asctime)s]\n\n %(levelname)s: %(message)s\n{82*"-"}\n" ) diff --git a/app/install.py b/app/install.py index 441e75f..776010e 100644 --- a/app/install.py +++ b/app/install.py @@ -1,9 +1,6 @@ -import os +import subprocess import time from datetime import datetime -import subprocess - -script_dir = os.path.dirname(os.path.abspath(__file__)) def install(paths, uwp):