Skip to content

Commit

Permalink
Workaround PDF handler issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Dec 15, 2023
1 parent b5886a3 commit 980ae98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MSEdgeRedirect.au3
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ Func _DecodeAndRun($sEdge = $aEdges[1], $sCMDLine = "")
If _GetSettingValue("NoPDFs") Then
$sCMDLine = StringReplace($sCMDLine, "--single-argument ", "")
Switch _GetSettingValue("PDFApp")
Case "Default"
Case "Default", False
If RunPDFCheck() And _IsSafePDF($sCMDLine) Then ShellExecute('"' & $sCMDLine & '"')
Case Else
ShellExecute(_GetSettingValue("PDFApp"), '"' & $sCMDLine & '"')
Expand Down

0 comments on commit 980ae98

Please sign in to comment.