import c359b728f6
Try ~/.{prefix} on Apple OS X if /Library/Application Support/{prefix+1} fails.
This commit is contained in:
parent
814b1acafd
commit
22cba3641a
|
|
@ -202,6 +202,8 @@ void HomePaths_Realise(){
|
||||||
g_qeglobals.m_userEnginePath = path.c_str();
|
g_qeglobals.m_userEnginePath = path.c_str();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
path.clear();
|
||||||
|
path << DirectoryCleaned( g_get_home_dir() ) << prefix << "/";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined( WIN32 )
|
#if defined( WIN32 )
|
||||||
|
|
@ -3635,10 +3637,10 @@ void MainFrame_Construct(){
|
||||||
const char* ENGINEPATH_ATTRIBUTE =
|
const char* ENGINEPATH_ATTRIBUTE =
|
||||||
#if defined( WIN32 )
|
#if defined( WIN32 )
|
||||||
"enginepath_win32"
|
"enginepath_win32"
|
||||||
#elif defined( __linux__ ) || defined ( __FreeBSD__ )
|
|
||||||
"enginepath_linux"
|
|
||||||
#elif defined( __APPLE__ )
|
#elif defined( __APPLE__ )
|
||||||
"enginepath_macos"
|
"enginepath_macos"
|
||||||
|
#elif defined( __linux__ ) || defined ( __FreeBSD__ )
|
||||||
|
"enginepath_linux"
|
||||||
#else
|
#else
|
||||||
#error "unknown platform"
|
#error "unknown platform"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user