mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
add dedicated method to get logs path
This commit is contained in:
committed by
Andrii Danylchenko
parent
03b4ea71ba
commit
99af5bbe4c
@@ -685,7 +685,7 @@ void CServerHandler::threadRunServer()
|
||||
{
|
||||
#ifndef VCMI_ANDROID
|
||||
setThreadName("CServerHandler::threadRunServer");
|
||||
const std::string logName = (VCMIDirs::get().userCachePath() / "server_log.txt").string();
|
||||
const std::string logName = (VCMIDirs::get().userLogsPath() / "server_log.txt").string();
|
||||
std::string comm = VCMIDirs::get().serverPath().string()
|
||||
+ " --port=" + getDefaultPortStr()
|
||||
+ " --run-by-client"
|
||||
|
||||
Reference in New Issue
Block a user