Skip to content

Commit

Permalink
Fix (firefox_windows.go): Registry path
Browse files Browse the repository at this point in the history
For Mozilla Firefox Stable edition, it's incorrect in `getFirefoxPath` function.

Signed-off-by: Dragon1573 <[email protected]>
  • Loading branch information
Dragon1573 committed Dec 20, 2023
1 parent 942c4b6 commit dfd27e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interfacer/src/browsh/firefox_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func getFirefoxPath() string {

k, err := registry.OpenKey(
registry.LOCAL_MACHINE,
`Software\Mozilla\`+flavor+` `+versionString+`\bin`,
`Software\Mozilla\` + flavor + `\` + versionString + `\Main`,
registry.QUERY_VALUE)
if err != nil {
Shutdown(fmt.Errorf("Error reading Windows registry: %w", err))
Expand Down

0 comments on commit dfd27e1

Please sign in to comment.