diff --git a/Files/breadtools/scripts/helper.vbs b/Files/breadtools/scripts/helper.vbs index cd03843..7276389 100644 --- a/Files/breadtools/scripts/helper.vbs +++ b/Files/breadtools/scripts/helper.vbs @@ -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 -