Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-03-18 18:49:35 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-03-18 18:49:35 +0300
commit038fa810f90f4c26eeb4539e6f60e6bf7db049a2 (patch)
tree8236a1a75c33fb39fe0f83aaf5623f59aed1b523 /WaitingClovershellForm.cs
parentf52b78bce52621a78520dbdbb658b51774f4fd2d (diff)
Driver should work on all Windows versions now
Diffstat (limited to 'WaitingClovershellForm.cs')
-rw-r--r--WaitingClovershellForm.cs20
1 files changed, 4 insertions, 16 deletions
diff --git a/WaitingClovershellForm.cs b/WaitingClovershellForm.cs
index 41991175..5e466ac8 100644
--- a/WaitingClovershellForm.cs
+++ b/WaitingClovershellForm.cs
@@ -57,22 +57,10 @@ namespace com.clusterrr.hakchi_gui
{
try
{
- // XP?
- if (System.Environment.OSVersion.Version.Major == 5 && System.Environment.OSVersion.Version.Minor <= 1)
- {
- MessageBox.Show(this, Resources.XpZadig, "Windows XP/2000", MessageBoxButtons.OK, MessageBoxIcon.Information);
- var process = new Process();
- var fileName = "http://zadig.akeo.ie/";
- process.StartInfo.FileName = fileName;
- process.Start();
- }
- else
- {
- var process = new Process();
- var fileName = Path.Combine(Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "driver"), "nesmini_driver.exe");
- process.StartInfo.FileName = fileName;
- process.Start();
- }
+ var process = new Process();
+ var fileName = Path.Combine(Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "driver"), "nesmini_driver.exe");
+ process.StartInfo.FileName = fileName;
+ process.Start();
}
catch (Exception ex)
{