From 22e4b745e4920de183c497438301da51cff21bee Mon Sep 17 00:00:00 2001 From: mas6y6 Date: Fri, 6 Dec 2024 12:20:23 -0600 Subject: [PATCH] Updated main.py to fix the home directory problem --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index d023cb7..a0fe5ce 100644 --- a/main.py +++ b/main.py @@ -192,10 +192,10 @@ def create_directories(path_list): os.chdir(api.pwd) elif platform.system() == "Linux": if not debugmode: - api.starterdir = os.path.expanduser("~") + api.starterdir = os.path.join(os.path.expanduser("~"),"CipherOS") elif platform.system() == "Darwin": if not debugmode: - api.starterdir = os.path.expanduser("~") + api.starterdir = os.path.join(os.path.expanduser("~"),"CipherOS") if executeargs.startdir: api.starterdir = executeargs.startdir