mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 03:26:29 +03:00
Use Resources path when building ecode.app. Should fix signing.
This commit is contained in:
@@ -3760,6 +3760,12 @@ void App::init( InitParameters& params ) {
|
||||
mResPath += "assets";
|
||||
FileSystem::dirAddSlashAtEnd( mResPath );
|
||||
|
||||
#if EE_PLATFORM == EE_PLATFORM_MACOS
|
||||
if ( !FileSystem::fileExists( mResPath ) ) {
|
||||
mResPath = Sys::getProcessPath() + "/../Resources/assets/";
|
||||
}
|
||||
#endif
|
||||
|
||||
bool firstRun = loadConfig( params.logLevel, currentDisplay->getSize(), params.prematureExit,
|
||||
params.stdOutLogs, params.disableFileLogs );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user