downloader.DownloadEventRaised += new EventHandler<DownloadEventArgs>(dl.OnDownload);\r
\r
pkgListMan = new PackageListsManager();\r
+ pkgListMan.LoadPackageLists();\r
}\r
\r
public void Update()\r
if (avaiablePkg != null) {\r
if (verComp.Compare(pkg.Version, avaiablePkg.Version) < 0 &&\r
pkgListMan.InstalledPkgList.GetPackageForPackage(pkg.Name, avaiablePkg.Version) == null) {\r
- Console.ForegroundColor = ConsoleColor.Green;\r
+ \r
+ Console.WriteLine("{0} ({1}) => ({2})", pkg.Name, pkg.Version, avaiablePkg.Version);\r
}\r
- \r
- Console.WriteLine("{0} ({1}) => ({2})", pkg.Name, pkg.Version, avaiablePkg.Version);\r
- Console.ResetColor();\r
}\r
}\r
foreach (InstalledPackage pkg in pkgListMan.SystemInstalledPkgList) {\r
if (avaiablePkg != null) {\r
if (verComp.Compare(pkg.Version, avaiablePkg.Version) < 0 &&\r
pkgListMan.SystemInstalledPkgList.GetPackageForPackage(pkg.Name, avaiablePkg.Version) == null) {\r
- Console.ForegroundColor = ConsoleColor.Green;\r
+ \r
+ Console.WriteLine("{0} ({1})@sys => ({2})", pkg.Name, pkg.Version, avaiablePkg.Version);\r
}\r
- \r
- Console.WriteLine("{0} ({1})@sys => ({2})", pkg.Name, pkg.Version, avaiablePkg.Version);\r
- Console.ResetColor();\r
}\r
}\r
}\r
foreach (Package pkg in allPkgs.GetPackagesForName(packagename)) {\r
Console.WriteLine("Package: {0}", pkg.Name);\r
Console.WriteLine("Version: {0}", pkg.Version);\r
+ Console.WriteLine("Summary: {0}", pkg.Summary);\r
if (pkg.Url != null) Console.WriteLine("Website: {0}", pkg.Url.Href);\r
if (pkg.Tags != null) Console.WriteLine("Tag: {0}", pkg.Tags.ToLower());\r
Console.WriteLine("Type: {0}", pkg.Type);\r
if (pkg.License != null) Console.WriteLine("License: {0}", pkg.License);\r
if (pkg is InstalledPackage) Console.WriteLine("State: Installed");\r
+ Console.WriteLine("Repository: {0}", pkg.PackageListName);\r
\r
if (pkg.Description != null) {\r
Console.WriteLine("Description:");\r