Skip to content

Commit

Permalink
Add #463
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Nov 7, 2024
1 parent f0464cc commit 35ff594
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MSEdgeRedirect.au3
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,17 @@ Func ActiveMode(ByRef $aCMDLine)
ContinueCase
Case _ArraySearch($aCMDLine, "--profile-directory=", 2, 0, 0, 1) > 0 ; #68, Multiple Profiles
ContinueCase
Case _ArraySearch($aCMDLine, "--user-data-dir=", 2, 0, 0, 1) > 0 ; #463, Multiple Profiles
ContinueCase
Case $sParent = "MSEdgeRedirect.exe"
$iIndex = _ArraySearch($aCMDLine, "--from-ie-to-edge", 2, 0, 0, 1)
If $iIndex Then
_ArrayDelete($aCMDLine, $iIndex)
$sCMDLine = _ArrayToString($aCMDLine, " ", 2, -1)
_DecodeAndRun(Default, $sCMDLine)
EndIf
$sCMDLine = _ArrayToString($aCMDLine, " ", 2, -1)
_SafeRun($aCMDLine[1], $sCMDLine)
_SafeRun($aCMDLine[1], $sCMDLine)
Case $sParent = "BrowserSelect.exe" ; TODO: DOUBLE CHECK $aCMDLine[2]
ContinueCase
Case $sParent = "BrowserSelector.exe"
Expand Down

0 comments on commit 35ff594

Please sign in to comment.