Skip to content

Commit

Permalink
slight clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
pbanj authored Aug 21, 2023
1 parent ba991fd commit 215a047
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Files/breadtools/scripts/helper.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ Set shell = WScript.CreateObject("Shell.Application")
folder = WScript.Arguments(1)
If Wscript.Arguments.Count > 2 Then
profile = WScript.Arguments(2)
' 0 at the end means to run this command silently
shell.ShellExecute "powershell", "Start-Process \""" & executable & "\"" -ArgumentList \""-p \""\""" & profile & "\""\"" -d \""\""" & folder & "\""\"" \"" ", "", "runas", 0
Else
' 0 at the end means to run this command silently
shell.ShellExecute "powershell", "Start-Process \""" & executable & "\"" -ArgumentList \""-d \""\""" & folder & "\""\"" \"" ", "", "runas", 0
End If

0 comments on commit 215a047

Please sign in to comment.