Skip to content

Commit

Permalink
Updated main.py to fix the home directory problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mas6y6 committed Dec 6, 2024
1 parent 5e7b21b commit 22e4b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22e4b74

Please sign in to comment.