File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
uis/src/com/biglybt/ui/swt/utils Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -305,9 +305,8 @@ private static void launchURL(String s) {
305
305
Field field = Program .class .getDeclaredField ("command" );
306
306
field .setAccessible (true );
307
307
String command = (String ) field .get (program );
308
- command = command .replaceAll ("%[1lL]" , Matcher .quoteReplacement (s ));
309
- command = command .replace (" --" , "" );
310
- PluginInitializer .getDefaultInterface ().getUtilities ().createProcess (command + " -incognito" );
308
+ command = command .replaceAll ("%[1lL]" , Matcher .quoteReplacement ("--incognito " +s ));
309
+ PluginInitializer .getDefaultInterface ().getUtilities ().createProcess ( command );
311
310
} catch (Exception e1 ) {
312
311
e1 .printStackTrace ();
313
312
Utils .launch (s );
You can’t perform that action at this time.
0 commit comments