Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
How TF did the compiler miss that!?
Browse files Browse the repository at this point in the history
  • Loading branch information
noahc3 committed Jul 9, 2018
1 parent 65b2b08 commit f3ba49e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions auto h-encore/FormConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ private void btnUSB_Click(object sender, EventArgs e) {
Task.Factory.StartNew(new Action(() => {
ProcessStartInfo psi = new ProcessStartInfo();
psi.WorkingDirectory = Reference.path_qcma + "driver\\";
psi.FileName = "cmd.exe";
psi.Arguments = "/C " + Reference.path_qcma + "driver\\dpscat.exe";
psi.FileName = Reference.path_qcma + "driver\\dpscat.exe";
Process process = Process.Start(psi);
process.WaitForExit();
if (Environment.Is64BitOperatingSystem) psi.FileName = psi.Arguments = "/C " + Reference.path_qcma + "driver\\dpinst64.exe /SE /SW";
else psi.FileName = psi.Arguments = "/C " + Reference.path_qcma + "driver\\dpinst32.exe /SE /SW";
if (Environment.Is64BitOperatingSystem) psi.FileName = Reference.path_qcma + "driver\\dpinst64.exe";
else psi.FileName = Reference.path_qcma + "driver\\dpinst32.exe";
psi.Arguments = "/SE /SW";
process = Process.Start(psi);
process.WaitForExit();
AfterUSB();
Expand Down

0 comments on commit f3ba49e

Please sign in to comment.