Skip to content

Commit

Permalink
Patch File Handling + Unknown IE_TO_EDGE_STUBs
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Nov 29, 2023
1 parent a8507ac commit 6c5df19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions MSEdgeRedirect.au3
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Func ActiveMode(ByRef $aCMDLine)
ReDim $aCMDLine[3]
$aCMDLine[2] = ""
ContinueCase
Case $aCMDLine[0] = 2 And FileExists($aCMDLine[2])
ContinueCase
Case $aCMDLine[0] = 2 And $aCMDLine[2] = "--uninstall" ; Uninstalling Edge
ContinueCase
Case $aCMDLine[0] = 2 And $aCMDLine[2] = "--suspend-background-mode" ; Uninstalling Edge
Expand Down Expand Up @@ -194,8 +196,7 @@ Func ProcessCMDLine()
If $iParams > 0 Then

$CMDLine = RepairCMDLine($CMDLine)

If _ArraySearch($aEdges, $CMDLine[1]) > 0 Then ; Image File Execution Options Mode
If _ArraySearch($aEdges, $CMDLine[1]) > 0 Or StringInStr($CMDLine[1], "ie_to_edge_stub.exe") Then ; Image File Execution Options Mode
ActiveMode($CMDLine)
If Not _GetSettingValue("NoUpdates") And Random(1, 10, 1) = 1 Then RunUpdateCheck()
Exit
Expand Down

0 comments on commit 6c5df19

Please sign in to comment.