Transférer les fichiers vers 'gamedata' #1
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user