mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Restore Continuum runtime and installer close identity
This commit is contained in:
parent
83968409e3
commit
6e7ca597e8
1 changed files with 4 additions and 4 deletions
|
|
@ -1270,9 +1270,9 @@ QString Servatrice::getDBTypeString() const
|
||||||
QString Servatrice::getDBPrefixString() const
|
QString Servatrice::getDBPrefixString() const
|
||||||
{
|
{
|
||||||
if (QProcessEnvironment::systemEnvironment().contains("DATABASE_URL")) {
|
if (QProcessEnvironment::systemEnvironment().contains("DATABASE_URL")) {
|
||||||
return {"cockatrice"};
|
return {"continuum_servatrice"};
|
||||||
}
|
}
|
||||||
return settingsCache->value("database/prefix").toString();
|
return settingsCache->value("database/prefix", "continuum_servatrice").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Servatrice::getDBHostNameString() const
|
QString Servatrice::getDBHostNameString() const
|
||||||
|
|
@ -1419,7 +1419,7 @@ QHostAddress Servatrice::getServerTCPHost() const
|
||||||
|
|
||||||
int Servatrice::getServerTCPPort() const
|
int Servatrice::getServerTCPPort() const
|
||||||
{
|
{
|
||||||
return settingsCache->value("server/port", 4747).toInt();
|
return settingsCache->value("server/port", 4757).toInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
int Servatrice::getNumberOfWebSocketPools() const
|
int Servatrice::getNumberOfWebSocketPools() const
|
||||||
|
|
@ -1442,7 +1442,7 @@ int Servatrice::getServerWebSocketPort() const
|
||||||
if (QProcessEnvironment::systemEnvironment().contains("PORT")) {
|
if (QProcessEnvironment::systemEnvironment().contains("PORT")) {
|
||||||
return QProcessEnvironment::systemEnvironment().value("PORT").toInt();
|
return QProcessEnvironment::systemEnvironment().value("PORT").toInt();
|
||||||
}
|
}
|
||||||
return settingsCache->value("server/websocket_port", 4748).toInt();
|
return settingsCache->value("server/websocket_port", 4758).toInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Servatrice::getISLNetworkEnabled() const
|
bool Servatrice::getISLNetworkEnabled() const
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue