mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-20 07:27:19 -05:00
fix permissions on .OpenDiablo2 directory (#144)
This commit is contained in:
parent
a6a9434267
commit
e1d9f676cf
@ -121,7 +121,7 @@ func getGameBaseSavePath() string {
|
||||
log.Panicf(err.Error())
|
||||
}
|
||||
basePath := path.Join(homeDir, ".OpenDiablo2", "Saves")
|
||||
if err := os.MkdirAll(basePath, os.ModeDir); err != nil {
|
||||
if err := os.MkdirAll(basePath, 0755); err != nil {
|
||||
log.Panicf(err.Error())
|
||||
}
|
||||
// TODO: Is mac supposed to have a super special place for the save games?
|
||||
|
Loading…
x
Reference in New Issue
Block a user