Skip to content

Commit

Permalink
Let morons run any exe as Admin if they so want
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed Jun 27, 2023
1 parent 7715ce6 commit dbf3eb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CSLOLUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ QString CSLOLUtils::detectGamePath() {
}

bool CSLOLUtils::isUnnecessaryAdmin() {
return false;
if (QFileInfo info(QCoreApplication::applicationDirPath() + "/admin_allow.txt"); info.exists()) {
return false;
}
Expand Down

0 comments on commit dbf3eb9

Please sign in to comment.