@@ -115,8 +115,7 @@ protected override bool IsInstalled
115115 Path . Combine ( CurrentGameInstallPath ! ,
116116 "Client\\ Binaries\\ Win64\\ ThirdParty\\ KrPcSdk_Global\\ KRSDKRes\\ KRSDK.bin" ) ) ;
117117 string executablePath5 = Path . Combine ( CurrentGameInstallPath ?? string . Empty ,
118- Path . Combine ( CurrentGameInstallPath ! ,
119- "app-game-config.json" ) ) ;
118+ Path . Combine ( CurrentGameInstallPath ! , "app-game-config.json" ) ) ;
120119 return File . Exists ( executablePath1 ) &&
121120 File . Exists ( executablePath2 ) &&
122121 File . Exists ( executablePath3 ) &&
@@ -125,6 +124,23 @@ protected override bool IsInstalled
125124 }
126125 }
127126
127+ protected bool IsSteamInstall
128+ {
129+ get
130+ {
131+ string executablePath1 = Path . Combine ( CurrentGameInstallPath ?? string . Empty ,
132+ "Client\\ Binaries\\ Win64\\ ThirdParty\\ KrPcSdk_Global\\ installscript.vdf" ) ;
133+ string executablePath2 = Path . Combine ( CurrentGameInstallPath ?? string . Empty ,
134+ "\\ Client\\ Binaries\\ Win64\\ AntiCheatExpert\\ SGuard\\ x64\\ SGuard64.exe" ) ;
135+ string executablePath3 = Path . Combine ( CurrentGameInstallPath ?? string . Empty ,
136+ "\\ Client\\ Binaries\\ Win64\\ ThirdParty\\ KrPcSdk_Global\\ KRSDK.dll" ) ;
137+
138+ return File . Exists ( executablePath1 ) &&
139+ File . Exists ( executablePath2 ) &&
140+ File . Exists ( executablePath3 ) ;
141+ }
142+ }
143+
128144 public override void Dispose ( )
129145 {
130146 if ( IsDisposed )
0 commit comments