From 038fa810f90f4c26eeb4539e6f60e6bf7db049a2 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Sat, 18 Mar 2017 18:49:35 +0300 Subject: Driver should work on all Windows versions now --- WaitingClovershellForm.cs | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'WaitingClovershellForm.cs') 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) { -- cgit v1.2.3