2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-17 03:26:02 +00:00

Fix unhooking

This commit is contained in:
Peter Repukat 2017-04-19 21:05:05 +02:00
parent 3fa349d47a
commit df89e5837b
2 changed files with 1 additions and 3 deletions

View File

@ -30,7 +30,5 @@ Afterwards create your shortcuts with GloSC and you are ready to go.
### Notes:
The SteamTarget checks for the Injector, as well as the hooking dll, one directory up.
The GloSC_GameLauncher must be running from that directory, as Admin, to make double sure Steam does get unhooked after closing a shortcut

View File

@ -384,7 +384,7 @@ void SteamTargetRenderer::unhookBindings()
QProcess proc;
proc.setNativeArguments(" --eject ");
proc.setWorkingDirectory(dir);
proc.start("..\\Injector.exe", QIODevice::ReadOnly);
proc.start("./Injector.exe", QIODevice::ReadOnly);
proc.waitForStarted();
proc.waitForFinished();
}