From 990e02a11a352b6262d629806c4a238409759d32 Mon Sep 17 00:00:00 2001 From: osamu Date: Sun, 1 Jan 2023 09:28:24 -0800 Subject: [PATCH] Strategy: Hide the console away from the user --- Pivoter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pivoter.cpp b/Pivoter.cpp index bb77ee0..aa38202 100644 --- a/Pivoter.cpp +++ b/Pivoter.cpp @@ -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];