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();
|
||||
break;
|
||||
}
|
||||
path.clear();
|
||||
path << DirectoryCleaned( g_get_home_dir() ) << prefix << "/";
|
||||
#endif
|
||||
|
||||
#if defined( WIN32 )
|
||||
|
|
@ -3635,10 +3637,10 @@ void MainFrame_Construct(){
|
|||
const char* ENGINEPATH_ATTRIBUTE =
|
||||
#if defined( WIN32 )
|
||||
"enginepath_win32"
|
||||
#elif defined( __linux__ ) || defined ( __FreeBSD__ )
|
||||
"enginepath_linux"
|
||||
#elif defined( __APPLE__ )
|
||||
"enginepath_macos"
|
||||
#elif defined( __linux__ ) || defined ( __FreeBSD__ )
|
||||
"enginepath_linux"
|
||||
#else
|
||||
#error "unknown platform"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user