mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-18 23:16:37 +02:00
committe
This commit is contained in:
parent
1221ac1e51
commit
75624499ae
1 changed files with 2 additions and 0 deletions
2
i2p.cpp
2
i2p.cpp
|
@ -95,6 +95,7 @@ int main( int argc, char* argv[] )
|
|||
LogPrint("data directory: ", i2p::util::filesystem::GetDataDir().string());
|
||||
i2p::util::filesystem::ReadConfigFile(i2p::util::config::mapArgs, i2p::util::config::mapMultiArgs);
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
std::string serviceControl = i2p::util::config::GetArg("-service", "none");
|
||||
if (serviceControl == "install")
|
||||
|
@ -141,6 +142,7 @@ int main( int argc, char* argv[] )
|
|||
|
||||
volatile int isLogging = i2p::util::config::GetArg("-log", 0);
|
||||
|
||||
|
||||
if (isLogging == 1)
|
||||
{
|
||||
std::string logfile = i2p::util::filesystem::GetDataDir().string();
|
||||
|
|
Loading…
Add table
Reference in a new issue