Skip to content

Commit

Permalink
Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Idov31 committed Jun 5, 2022
1 parent 8ace5ce commit 3edddaf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Example/NidhoggExample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ int wmain(int argc, const wchar_t* argv[]) {
if (_wcsicmp(argv[1], L"process") == 0)
success = NidhoggProcessClearAllProtection();
else if (_wcsicmp(argv[1], L"file") == 0) {
std::cout << "TBA" << std::endl;
success = NidhoggFileClearAllProtection();
}

break;
}
case Options::Hide:
Expand All @@ -104,9 +104,11 @@ int wmain(int argc, const wchar_t* argv[]) {
success = NidhoggProcessHide(pids);
}
else if (_wcsicmp(argv[1], L"file") == 0) {
std::cout << "TBA" << std::endl;
std::cerr << "[ - ] Invalid option!" << std::endl;
PrintUsage();
return 1;
}

break;
}
case Options::Elevate:
Expand Down

0 comments on commit 3edddaf

Please sign in to comment.