Skip to content

Commit

Permalink
add termux support
Browse files Browse the repository at this point in the history
Termux has a different prefix which is not present here.
  • Loading branch information
T-Dynamos committed Feb 14, 2023
1 parent 946d337 commit fd2ea40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cspell.json
Expand Up @@ -102,6 +102,7 @@
"touchstart",
"tracebackancestors",
"trimpath",
"termux",
"Typedarray",
"tzdata",
"Unserializable",
Expand Down
1 change: 1 addition & 0 deletions lib/launcher/browser.go
Expand Up @@ -331,6 +331,7 @@ func LookPath() (found string, has bool) {
"/usr/bin/chromium",
"/usr/bin/chromium-browser",
"/snap/bin/chromium",
"/data/data/com.termux/files/usr/bin/chromium-browser",
},
"windows": append([]string{"chrome", "edge"}, expandWindowsExePaths(
`Google\Chrome\Application\chrome.exe`,
Expand Down

0 comments on commit fd2ea40

Please sign in to comment.