hard code userdir to ~/Library/Preferences/D2X Rebirth/ for Mac OS X
This commit is contained in:
parent
0907af33fc
commit
7363a2a5fa
|
@ -3,6 +3,7 @@ D2X-Rebirth Changelog
|
|||
20071103
|
||||
--------
|
||||
arch/sdl/jukebox.c: hack to remove warning when compiling on Mac OS X (constant/variable dirent parameter of file selection callback for scandir)
|
||||
include/physfsx.h, INSTALL.txt: hard code userdir to ~/Library/Preferences/D2X Rebirth/ for Mac OS X
|
||||
|
||||
20071101
|
||||
--------
|
||||
|
|
|
@ -135,7 +135,7 @@ To see a full list of available command-line options append ‘-h’, ‘-?’ t
|
|||
d2x.ini
|
||||
|
||||
|
||||
The game will create a config-directory in the Home directory of the user called ‘.d2x-rebirth’.
|
||||
The game will create a config-directory in the Home directory of the user called ‘.d2x-rebirth’. On Mac OS X this directory will be called 'D2X Rebirth', in the Preferences folder in the user's Library.
|
||||
It is used to read/save
|
||||
|
||||
*
|
||||
|
|
|
@ -54,7 +54,11 @@ static inline void PHYSFSX_init(int argc, char *argv[])
|
|||
#endif
|
||||
|
||||
#if defined(__unix__)
|
||||
# if !(defined(__APPLE__) && defined(__MACH__))
|
||||
path = "~/.d2x-rebirth/";
|
||||
# else
|
||||
path = "~/Library/Preferences/D2X Rebirth/";
|
||||
# endif
|
||||
|
||||
PHYSFS_removeFromSearchPath(PHYSFS_getBaseDir());
|
||||
|
||||
|
|
Loading…
Reference in a new issue