using System;\r
using System.Drawing;\r
using System.Windows.Forms;\r
+using System.Text;\r
+using System.IO;\r
using NaGet.Packages.Install;\r
using NaGet.Packages;\r
-using System.Text;\r
\r
namespace AppliStation\r
{\r
\r
string instPath = null;\r
if (pkg.Type == InstallerType.ARCHIVE) {\r
- instPath = System.IO.Path.Combine(NaGet.Env.ArchiveProgramFiles, pkg.Name);\r
- } else if (System.IO.Directory.Exists(uninstInfo.InstallLocation)) {\r
+ instPath = Path.Combine(NaGet.Env.ArchiveProgramFiles, pkg.Name);\r
+ } else if (Directory.Exists(uninstInfo.InstallLocation)) {\r
instPath = uninstInfo.InstallLocation;\r
}\r
\r
{\r
string linkData = e.Link.LinkData.ToString();\r
\r
- if (System.IO.Directory.Exists(linkData)) {\r
+ if (Directory.Exists(linkData)) {\r
e.Link.Visited = true;\r
System.Diagnostics.Process.Start(e.Link.LinkData.ToString());\r
} else if (System.Text.RegularExpressions.Regex.IsMatch(linkData, @"(https?|file)://")) {\r