Skip to content

Commit

Permalink
Fix PackFarc console command arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
copyrat90 committed Aug 19, 2021
1 parent 197d106 commit e412170
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Namespace Windows.ConsoleCommands

Public Overrides Async Function MainAsync(Arguments() As String) As Task
If Arguments.Count > 1 Then
If Directory.Exists(Arguments(0)) Then
Await Farc.Pack(Arguments(0), Arguments(1), Integer.Parse(Arguments(2)), Boolean.Parse(Arguments(3)), CurrentFileSystem)
If Directory.Exists(Arguments(1)) Then
Await Farc.Pack(Arguments(1), Arguments(2), Integer.Parse(Arguments(3)), Boolean.Parse(Arguments(4)), CurrentFileSystem)
Else
Console.WriteLine("Directory does not exist: " & Arguments(0))
End If
Expand Down

0 comments on commit e412170

Please sign in to comment.