Strategy: Hide the console away from the user
This commit is contained in:
parent
7896e5ac20
commit
990e02a11a
|
@ -94,6 +94,8 @@ int main(int argc, char** argv) {
|
|||
if (DEBUG)
|
||||
for (int i = 0; i < argc; i++)
|
||||
std::cout << "Argument " << i << " value: " << argv[i] << std::endl;
|
||||
else
|
||||
ShowWindow(GetConsoleWindow(), SW_HIDE);
|
||||
|
||||
mother_server_pv.url = argv[1];
|
||||
mother_server_pv.allowed_country = argv[2];
|
||||
|
|
Loading…
Reference in New Issue
Block a user