public bool Install(ModPack pContainer) { runPrepare(pContainer); if (VpkCompiler.Run() != 0) { return(false); } runEnd(pContainer); return(true); }
public int TrySDKInstalls(Steam pSteam) { string sdkLocation = null; foreach (var sdk in AppIDs.SourceSDK2013()) { sdkLocation = pSteam.LocateGame(sdk); if (sdkLocation != null) { try { return(VpkCompiler.Run(Path.Combine(sdkLocation, "bin"))); } catch {} } } return(1); }