Skip to content

Commit

Permalink
Suggest running as admin if no SeDebugPrivilege is granted
Browse files Browse the repository at this point in the history
  • Loading branch information
Soreepeong committed Jun 7, 2021
1 parent acbf1ed commit a465f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XivAlexanderLoader/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ int WINAPI wWinMain(
try {
AddDebugPrivilege();
} catch (const std::exception& err) {
debugPrivilegeError = Utils::FormatString("Failed to obtain.\n* %s", err.what());
debugPrivilegeError = Utils::FormatString("Failed to obtain.\n* Try running this program as Administrator.\n* %s", err.what());
}

const std::wstring ProcessName(L"ffxiv_dx11.exe");
Expand Down

0 comments on commit a465f64

Please sign in to comment.