Skip to content

Commit

Permalink
Fixed invalid injector path
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Mar 31, 2021
1 parent 9ee2375 commit f7dcd0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Common/src/constants.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

constexpr auto VERSION = "1.3.0";
constexpr auto VERSION = "1.3.1";

constexpr auto INTEGRATION_64 = L"Integration64.dll";
constexpr auto INTEGRATION_32 = L"Integration32.dll";
Expand Down
6 changes: 3 additions & 3 deletions Unlocker/src/ProcessHooker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ void inject(std::wstring wPID, uint64_t funcAddr)
// Determine the target executable's architecture to launch correponding injector
bool is32 = is32bit(PID);

auto workingDir = getWorkingDirPath();
auto injectorPath = workingDir / (is32 ? INJECTOR_32 : INJECTOR_64);
auto unlockerPath = workingDir / (is32 ? UNLOCKER_32 : UNLOCKER_64);
auto installDir = getInstallDirPath();
auto injectorPath = installDir / (is32 ? INJECTOR_32 : INJECTOR_64);
auto unlockerPath = installDir / (is32 ? UNLOCKER_32 : UNLOCKER_64);

// Validate paths
if(!std::filesystem::exists(injectorPath))
Expand Down
2 changes: 1 addition & 1 deletion inno_setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Koalageddon"
#define MyAppVersion "1.3.0"
#define MyAppVersion "1.3.1"
#define MyAppPublisher "acidicoala"
#define MyAppURL "https://github.com/acidicoala/Koalageddon"
#define MyAppExeName "IntegrationWizard32.exe"
Expand Down

0 comments on commit f7dcd0d

Please sign in to comment.