Skip to content

Commit

Permalink
Update BBDownAria2c.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed May 14, 2022
1 parent 3621969 commit 37260f4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions BBDown/BBDownAria2c.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ class BBDownAria2c

public static async Task<int> RunCommandCodeAsync(string command, string args)
{
if (File.Exists(Path.Combine(Program.APP_DIR, $"{command}")))
command = Path.Combine(Program.APP_DIR, $"{command}");
if (File.Exists(Path.Combine(Program.APP_DIR, $"{command}.exe")))
command = Path.Combine(Program.APP_DIR, $"{command}.exe");
using Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = false;
Expand Down

0 comments on commit 37260f4

Please sign in to comment.