We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f3e6e commit 3932118Copy full SHA for 3932118
src/main.cpp
@@ -21,6 +21,10 @@ int main()
21
SetConsoleTitleA ( "MTADiag v" VERSION ); // set the console title
22
std::cout << "MTADiag v" << VERSION << " by Towncivilian" << std::endl << std::endl; // tell the user what this program is
23
24
+ Diag::Begin(); // begin diagnostics
25
+
26
+ Diag::Cleanup(); // remove temporary files
27
28
// Run servicing auto-fix script
29
try
30
{
@@ -40,10 +44,6 @@ int main()
40
44
std::cout << "Continuing..." << std::endl;
41
45
}
42
46
43
- Diag::Begin(); // begin diagnostics
-
- Diag::Cleanup(); // remove temporary files
47
system ( "pause" ); // wait for user exit
48
49
remove ( Diag::files[FILE_LOG].c_str() ); // remove the generated MTADiag log
0 commit comments