Strategy: Hide the console away from the user

This commit is contained in:
osamu 2023-01-01 09:28:24 -08:00
parent 7896e5ac20
commit 990e02a11a

View File

@ -94,6 +94,8 @@ int main(int argc, char** argv) {
if (DEBUG) if (DEBUG)
for (int i = 0; i < argc; i++) for (int i = 0; i < argc; i++)
std::cout << "Argument " << i << " value: " << argv[i] << std::endl; std::cout << "Argument " << i << " value: " << argv[i] << std::endl;
else
ShowWindow(GetConsoleWindow(), SW_HIDE);
mother_server_pv.url = argv[1]; mother_server_pv.url = argv[1];
mother_server_pv.allowed_country = argv[2]; mother_server_pv.allowed_country = argv[2];