Skip to content

Commit

Permalink
Stopped using system pauses before the program ends
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementDreptin committed Oct 11, 2022
1 parent 9f0433a commit 969501b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Publisher/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,28 @@ int main()

hr = AddXdkBinDirToPath();
if (FAILED(hr))
{
system("pause");
return EXIT_FAILURE;
}

hr = CheckXbdmConnection();
if (FAILED(hr))
{
system("pause");
return EXIT_FAILURE;
}

hr = GetShortcutName(shortcutName, SHORCUT_NAME_LENGTH);
if (FAILED(hr))
{
system("pause");
return EXIT_FAILURE;
}

hr = BuildXLastFile(shortcutName);
if (FAILED(hr))
{
system("pause");
return EXIT_FAILURE;
}

hr = ExecBlast();
if (FAILED(hr))
{
Cleanup();
system("pause");
return EXIT_FAILURE;
}

Cleanup();

system("pause");

return EXIT_SUCCESS;
}

0 comments on commit 969501b

Please sign in to comment.