Skip to content

Commit

Permalink
Update install.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pymmdrza authored Sep 26, 2023
1 parent 798b038 commit 6dad0e7
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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}")

Expand Down

0 comments on commit 6dad0e7

Please sign in to comment.