public bool setupVcpkg(string vcpkgDir) { if (SoftwareChecker.checkTargetVcpkg(vcpkgDir) == false) { return(false); } VcpkgPath = vcpkgDir + "\\vcpkg.exe"; return(true); }
/// <summary> /// 是否安装过git,否则提示他安装 /// </summary> /// <returns>是否安装</returns> public bool IsGitSetup() { return(SoftwareChecker.checkGit()); }
/// <summary> /// 安装Git路径 自动检测以及其他数据 /// </summary> /// <param name="vcpkgDir">vcpkg路径</param> /// <returns>安装是否成功</returns> public bool setupGit() { GitPath = SoftwareChecker.getGitPath(); // 获得本地git路径 return(SoftwareChecker.checkGit()); }