From 5853eb8e43ec04e3a3cdc0fbd5eb0cd77c5c99e1 Mon Sep 17 00:00:00 2001 From: Obie Hinojosa Date: Wed, 21 May 2025 22:19:42 -0500 Subject: [PATCH] update code comments and refactor windows section --- installer.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/installer.py b/installer.py index bc11a08..61e1a8c 100644 --- a/installer.py +++ b/installer.py @@ -132,6 +132,7 @@ homedir = os.path.expanduser("~") os.chdir(homedir) #need to figure out what can happen here outside of `if` statements because this is painful to look at +# - which operations here are os agnostic? what can we do regardless of whether they're on linux or win? if platform.system() == "Linux": time.sleep(1) print("Operating system detected: GNU/Linux") @@ -174,6 +175,10 @@ if platform.system() == "Linux": time.sleep(5) exit + +# --------------------- !!! TODO !!!------------------------ + + # elif platform.system() == "Windows": # print("Operating system detected: Microsoft Windows") # @@ -192,6 +197,4 @@ if platform.system() == "Linux": # compress_tar("webfishing_2_newver", "webfishing-save-backup.tar.gz") -# --------------------the real shit!------------------------ - - \ No newline at end of file +# --------------------- !!! TODO !!!------------------------