File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -1272,6 +1272,16 @@ bool TheXTechEngine::doTestLevelIPC(const LevelData &d)
12721272 }
12731273 }
12741274
1275+ if (m_caps.arguments .contains (" c" ))
1276+ {
1277+ #if __APPLE__
1278+ if (!ConfStatus::configDataPath.endsWith (" .app/Content/Resources/assets/" , Qt::CaseInsensitive))
1279+ args << " -c" << ConfStatus::configDataPath;
1280+ #else
1281+ args << " -c" << ConfStatus::configDataPath;
1282+ #endif
1283+ }
1284+
12751285 if (m_caps.features .contains (" vsync-flag" ) && m_vsyncEnable)
12761286 args << " --vsync" ;
12771287
@@ -1407,6 +1417,16 @@ bool TheXTechEngine::doTestLevelFile(const QString &levelFile)
14071417 }
14081418 }
14091419
1420+ if (m_caps.arguments .contains (" c" ))
1421+ {
1422+ #if __APPLE__
1423+ if (!ConfStatus::configDataPath.endsWith (" .app/Content/Resources/assets/" , Qt::CaseInsensitive))
1424+ args << " -c" << ConfStatus::configDataPath;
1425+ #else
1426+ args << " -c" << ConfStatus::configDataPath;
1427+ #endif
1428+ }
1429+
14101430 if (m_caps.features .contains (" vsync-flag" ) && m_vsyncEnable)
14111431 args << " --vsync" ;
14121432
@@ -1537,6 +1557,16 @@ bool TheXTechEngine::doTestWorldFile(const QString &worldFile)
15371557 }
15381558 }
15391559
1560+ if (m_caps.arguments .contains (" c" ))
1561+ {
1562+ #if __APPLE__
1563+ if (!ConfStatus::configDataPath.endsWith (" .app/Contents/Resources/assets/" , Qt::CaseInsensitive))
1564+ args << " -c" << ConfStatus::configDataPath;
1565+ #else
1566+ args << " -c" << ConfStatus::configDataPath;
1567+ #endif
1568+ }
1569+
15401570 if (m_caps.features .contains (" vsync-flag" ) && m_vsyncEnable)
15411571 args << " --vsync" ;
15421572
You can’t perform that action at this time.
0 commit comments