From ab15cce82bb60d2b85286e28dcb17615ecdf2be8 Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Thu, 29 Aug 2024 01:30:10 +0200 Subject: [PATCH] Fix Bug installation --- core/installation.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/installation.py b/core/installation.py index 90e48c6..7f0831f 100644 --- a/core/installation.py +++ b/core/installation.py @@ -49,12 +49,6 @@ class Install: def set_configuration(self): self.skip_install = False - # Exclude Windows OS - if os.name == 'nt': - #print('/!\\ Skip installation /!\\') - self.skip_install = True - return False - defender_install_folder = os.getcwd() venv_folder = '.pyenv' unix_user_home_directory = os.path.expanduser("~") @@ -76,6 +70,12 @@ class Install: venv_pip_executable=f'{os.path.join(defender_install_folder, venv_folder, "bin")}{os.sep}pip', venv_python_executable=f'{os.path.join(defender_install_folder, venv_folder, "bin")}{os.sep}python' ) + + + # Exclude Windows OS + if os.name == 'nt': + #print('/!\\ Skip installation /!\\') + self.skip_install = True def do_install(self) -> bool: