refactor: move serverBinary to Settings

newkey: server/binary <= General/coreServerBinary
remove coreServer from AppConfig
This commit is contained in:
sithlord48
2025-03-08 07:16:18 -05:00
committed by Nick Bolton
parent de3b9d8e2e
commit f456aab196
8 changed files with 11 additions and 18 deletions

View File

@ -521,7 +521,7 @@ bool CoreProcess::addGenericArgs(QStringList &args, const ProcessMode processMod
bool CoreProcess::addServerArgs(QStringList &args, QString &app)
{
app = m_pDeps->appPath(m_appConfig.coreServerName());
app = m_pDeps->appPath(Settings::value(Settings::Server::Binary).toString());
if (!m_pDeps->fileExists(app)) {
qFatal("core server binary does not exist");