Skip to content

Commit

Permalink
remove msvc and NSIS project files
Browse files Browse the repository at this point in the history
fix some windows build warnings
  • Loading branch information
r4sas committed Jun 11, 2017
1 parent f6d3a62 commit 629261c
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 1,530 deletions.
14 changes: 0 additions & 14 deletions Win32/.gitignore

This file was deleted.

17 changes: 7 additions & 10 deletions Win32/DaemonWin32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ namespace i2p
}
else
LogPrint(eLogDebug, "Daemon: running as user");

return true;
}

Expand All @@ -71,10 +70,10 @@ namespace i2p
SetConsoleOutputCP(1251);
setlocale(LC_ALL, "Russian");
#ifdef WIN32_APP
if (!i2p::win32::StartWin32App ()) return false;
if (!i2p::win32::StartWin32App ()) return false;

// override log
i2p::config::SetOption("log", std::string ("file"));
// override log
i2p::config::SetOption("log", std::string ("file"));
#endif
bool ret = Daemon_Singleton::start();
if (ret && i2p::log::Logger().GetLogType() == eLogFile)
Expand All @@ -92,24 +91,22 @@ namespace i2p
bool DaemonWin32::stop()
{
#ifdef WIN32_APP
i2p::win32::StopWin32App ();
i2p::win32::StopWin32App ();
#endif
return Daemon_Singleton::stop();
}

void DaemonWin32::run ()
{
{
#ifdef WIN32_APP
i2p::win32::RunWin32App ();
i2p::win32::RunWin32App ();
#else
while (running)
{
std::this_thread::sleep_for (std::chrono::seconds(1));
}

#endif
}
}
}
}

#endif
14 changes: 0 additions & 14 deletions Win32/Itoopie.cmd

This file was deleted.

282 changes: 0 additions & 282 deletions Win32/PurpleI2P.nsi

This file was deleted.

Loading

0 comments on commit 629261c

Please sign in to comment.