예제 #1
0
        private void UpdateLocalPackage(string chocoOutput)
        {
            var tmp = chocoOutput.Split('|', ' ');

            if (tmp.Length != 2)
            {
                return;
            }

            var p = repo.GetPackage(tmp[0]);

            p.InstalledVersion = new SemanticVersion(tmp[1]);
            addPackageCallback(p);
        }
        private void UpdateOutdatedFlag(string chocoOutput)
        {
            var tmp = chocoOutput.Split('|');

            repo.GetPackage(tmp[0]).IsUpgradable = true;
        }