Skip to content

Commit

Permalink
Add small QoL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
logandhillon committed Jul 25, 2024
1 parent ed7a9bb commit ff8978f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def print_header(header: str):


if __name__ == "__main__":
prompt("This will replace your current bdsh configs, proceed?", lambda: exit(0))
print("BDSH INSTALLATION TOOL\n(c) Bad Technologies\n")
if os.path.exists(BDSH_ROOT):
prompt("This will replace your current bdsh configs, proceed?", lambda: exit(0))

print_header("SETUP ENV")

Expand Down Expand Up @@ -226,6 +228,9 @@ def exitloop():
os.chmod(os.path.join("bin", "bdsh"), 0o755)
print("Created UNIX launcher script")

print(f"[!] Please add the following path to your PATH after installation completes:\n\t{os.path.abspath('bin')}")
getpass("Press ENTER to continue...")

print_header("CLEANING UP")

print("Done!")

0 comments on commit ff8978f

Please sign in to comment.