Skip to content

Commit

Permalink
Creating the bulk install command.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewNaylor committed Oct 25, 2020
1 parent 191a59b commit 713df7a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libguinget/PackageTools.vb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ Public Class PackageTools

' Define CMD args by going through the list of packages.
' Be sure to only add && if there are packages left to add.
Dim BulkInstallCommandList As String = String.Empty
Dim BulkInstallCommandList As String = "/k "
For Each Package As String In PackageIDs
For Each Version As String In PackageVersions
' Begin adding packages to the list.
BulkInstallCommandList = "winget install --id " & Package & " -v " & Version & InteractiveFlag & " -e"
Next
Next
End Using
End Sub
#End Region
Expand Down

0 comments on commit 713df7a

Please sign in to comment.