From 6dad0e7157b47c56cdb01851fe2c175724f7fd0b Mon Sep 17 00:00:00 2001 From: MMDRZA <95309780+Pymmdrza@users.noreply.github.com> Date: Tue, 26 Sep 2023 04:43:55 +0300 Subject: [PATCH] Update install.py --- install.py | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/install.py b/install.py index 3744575..36b8e68 100644 --- a/install.py +++ b/install.py @@ -2,13 +2,6 @@ import sys import subprocess import platform -from colorthon import Colors - -red = Colors.RED -green = Colors.GREEN -yellow = Colors.YELLOW -reset = Colors.RESET - def subInstall(package_name: str): if "win" in platform.platform().lower(): @@ -27,26 +20,7 @@ def install_deps(): print(f" {green}Installing{reset}:{yellow} {dep}{reset}") subInstall(dep) -def colorthon(): - if "win" in platform.platform().lower(): - print(f"{red}Installing{reset}:{yellow} Colorthon{reset}") - subprocess.run(['pip', 'install', 'colorthon'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - print(f"{green}Successfully installed{reset}: Colorthon") - - elif "linux" in platform.platform().lower(): - print(f"{red}Installing{reset}:{yellow} Colorthon{reset}") - subprocess.run(['pip3', 'install', 'colorthon'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - print(f"{green}Successfully installed{reset}: Colorthon") - - elif "mac" in platform.platform().lower(): - print(f"{red}Installing{reset}:{yellow} Colorthon{reset}") - subprocess.run(['pip3', 'install', 'colorthon'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - print(f"{green}Successfully installed{reset}: Colorthon") - - - def main(): - colorthon() install_deps() print(f"{red}CryptoFuzz{reset} {green}With dependencies have been installed!{reset}")