mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
parent
826f05f95f
commit
9fd5e15b97
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ char *Sys_DefaultHomePath(void)
|
|||
if( ( p = getenv( "HOME" ) ) != NULL )
|
||||
{
|
||||
Q_strncpyz( homePath, p, sizeof( homePath ) );
|
||||
#ifdef MACOS_X
|
||||
#ifdef HOMEPATH
|
||||
Q_strcat( homePath, sizeof( homePath ), HOMEPATH );
|
||||
#elif defined(MACOS_X)
|
||||
Q_strcat( homePath, sizeof( homePath ), "/Library" );
|
||||
mkdir( homePath, 0750 ); /* just in case. */
|
||||
Q_strcat( homePath, sizeof( homePath ), "/Application Support" );
|
||||
|
|
Loading…
Reference in a new issue