Skip to content

Commit

Permalink
Merge pull request #356 from rcmaehl/0.8.0.0-dev
Browse files Browse the repository at this point in the history
Update Settings Flow
  • Loading branch information
rcmaehl authored Dec 20, 2023
2 parents 1f721a7 + 03afa32 commit d7e6097
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions MSEdgeRedirect_Wrapper.au3
Original file line number Diff line number Diff line change
Expand Up @@ -768,28 +768,27 @@ Func RunSetup($bUpdate = False, $bSilent = False, $iPage = 0, $hSetupFile = @Scr
$iPage -= 1

Case $hMsg = $hNext
If @Compiled And Not $bResumed Then
Select

Case _IsChecked($hEurope)
ShellExecute(@ScriptFullPath, "/ContinueEurope", @ScriptDir, "RunAs")
Exit

Case _IsChecked($hActive)
ShellExecute(@ScriptFullPath, "/ContinueActive", @ScriptDir, "RunAs")
Exit

Case _IsChecked($hOthers)
ShellExecute("https://github.com/rcmaehl/MSEdgeRedirect/wiki/Alternative-Apps-Comparison-Chart")
Exit

EndSelect
EndIf
Switch $iPage + 1
Case $hMode
GUICtrlSetState($hBack, $GUI_ENABLE)
Case $hSettings
If $bUpdate Then
If @Compiled And Not $bResumed Then
Select

Case _IsChecked($hEurope)
ShellExecute(@ScriptFullPath, "/ContinueEurope", @ScriptDir, "RunAs")
Exit

Case _IsChecked($hActive)
ShellExecute(@ScriptFullPath, "/ContinueActive", @ScriptDir, "RunAs")
Exit

Case _IsChecked($hOthers)
ShellExecute("https://github.com/rcmaehl/MSEdgeRedirect/wiki/Alternative-Apps-Comparison-Chart")
Exit

EndSelect
ElseIf $bUpdate Then
GUICtrlSetData($hNext, "Update")
Else
GUICtrlSetData($hNext, "Install")
Expand Down

0 comments on commit d7e6097

Please sign in to comment.