Transférer les fichiers vers 'gamedata' #1

Merged
ayte merged 1 commits from antux18/PinmikPanik:master into master 2021-10-18 16:28:13 +02:00
Showing only changes of commit da9f88e2b1 - Show all commits

View File

@ -75,6 +75,8 @@ def get_save_dir(dirname):
path = os.environ["HOME"]+"/.local/share/"+dirname path = os.environ["HOME"]+"/.local/share/"+dirname
if p=="win32": if p=="win32":
path = os.getenv('APPDATA')+"\\"+dirname path = os.getenv('APPDATA')+"\\"+dirname
if p=="darwin":
path = os.environ["HOME"]+"/Library/"+dirname
# Create folder if non-existant # Create folder if non-existant
try: try: