Merge pull request 'Transférer les fichiers vers 'gamedata'' (#1) from antux18/PinmikPanik:master into master
Reviewed-on: #1
This commit is contained in:
commit
feb7383ab3
@ -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