Esempio n. 1
0
 /// <summary>
 /// 是否安装过git,否则提示他安装
 /// </summary>
 /// <returns>是否安装</returns>
 public bool IsGitSetup()
 {
     return(SoftwareChecker.checkGit());
 }
Esempio n. 2
0
        /// <summary>
        /// 安装Git路径 自动检测以及其他数据
        /// </summary>
        /// <param name="vcpkgDir">vcpkg路径</param>
        /// <returns>安装是否成功</returns>
        public bool setupGit()
        {
            GitPath = SoftwareChecker.getGitPath(); // 获得本地git路径

            return(SoftwareChecker.checkGit());
        }