Skip to content

Commit

Permalink
Fixed issue where user wanted the update but then decided to not want…
Browse files Browse the repository at this point in the history
… the update because the windows UAC popup is too scary
  • Loading branch information
Bakkes committed Jan 5, 2021
1 parent 004f58c commit 7abc307
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BakkesModInjectorC++/BakkesModInjectorCpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ void BakkesModInjectorCpp::TimerTimeout()
LOG_LINE(INFO, "Result " << GetLastError());//For now, I guess we do nothing if launching new process didn't work
auto waited = WaitForSingleObject(pi.hProcess, 15000);
LOG_LINE(INFO, "Done waiting " << waited << ", " << GetLastError());//For now, I guess we do nothing if launching new process didn't work

SetState(BAKKESMOD_IDLE);
}

}
Expand Down
4 changes: 2 additions & 2 deletions BakkesModInjectorC++/BakkesModInstallation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ void BakkesModInstallation::CreateAppDataFolderIfDoesntExist()
/* Convert the Windows path type to a C++ path */

std::filesystem::path bmPath = path_tmp_fs / "bakkesmod";
for (const auto& entry : std::filesystem::directory_iterator(bmPath))
/*for (const auto& entry : std::filesystem::directory_iterator(bmPath))
{
LOG_LINE(INFO, "Logging path")
LOG_LINE_W(INFO, entry)
}
}*/
if (!std::filesystem::exists(bmPath))
{
std::filesystem::create_directories(bmPath);
Expand Down

0 comments on commit 7abc307

Please sign in to comment.