@@ -125,7 +125,7 @@ protected Optional<Path> determinePath() {
125125 @ Override
126126 public void launch (String name , String file , boolean elevated ) throws Exception {
127127 try (ShellControl pc = LocalStore .getShell ()) {
128- ApplicationHelper .checkSupport (pc , executable , getDisplayName ());
128+ ApplicationHelper .checkSupport (pc , executable , getDisplayName (), null );
129129
130130 var toExecute = executable + " " + toCommand (name , file );
131131 // In order to fix this bug which also affects us:
@@ -367,7 +367,7 @@ public void launch(String name, String file, boolean elevated) throws Exception
367367 try (ShellControl pc = LocalStore .getShell ()
368368 .subShell (ShellDialects .POWERSHELL )
369369 .start ()) {
370- ApplicationHelper .checkSupport (pc , executable , displayName );
370+ ApplicationHelper .checkSupport (pc , executable , displayName , null );
371371 var toExecute = "Start-Process \" " + executable + "\" -Verb RunAs -ArgumentList \" "
372372 + toCommand (name , file ).replaceAll ("\" " , "`\" " ) + "\" " ;
373373 pc .executeSimpleCommand (toExecute );
@@ -377,7 +377,7 @@ public void launch(String name, String file, boolean elevated) throws Exception
377377 }
378378
379379 try (ShellControl pc = LocalStore .getShell ()) {
380- ApplicationHelper .checkSupport (pc , executable , displayName );
380+ ApplicationHelper .checkSupport (pc , executable , displayName , null );
381381
382382 var toExecute = executable + " " + toCommand (name , file );
383383 if (pc .getOsType ().equals (OsType .WINDOWS )) {
0 commit comments