re-add Tor Browser support to OSX

Former-commit-id: 812c63e5e8
Former-commit-id: 938d13b82ad102303304b19e86516ed708c39e30
This commit is contained in:
idk
2022-10-01 17:48:25 -04:00
parent fac0f4ac27
commit f9563ebad4
3 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ Sat, October 1
- Work around anti-automation measures on OSX by writing final command out to shell script and running that - Work around anti-automation measures on OSX by writing final command out to shell script and running that
- Deterministically generate .zip files - Deterministically generate .zip files
- Add Tor Browser support to OSX
Sun, September 25 Sun, September 25
----------------- -----------------

View File

@ -221,7 +221,6 @@ pointless and terrible. Literally any other browser would be better.
installed on-path. What is on path is virtually always a wrapper for Tor Browser installed on-path. What is on path is virtually always a wrapper for Tor Browser
which is installed either as the main user or it's own user. Linux will only use which is installed either as the main user or it's own user. Linux will only use
Tor Browser if it's discovered in "Local" mode. Tor Browser if it's discovered in "Local" mode.
- The above is also true of OSX for now but doesn't have to remain so.
- I really only test Phase 3 with Dillo and Edgium. **YMMV.** - I really only test Phase 3 with Dillo and Edgium. **YMMV.**
### Usability vs Strict ### Usability vs Strict

View File

@ -61,7 +61,8 @@ public class I2PFirefox extends I2PCommonBrowser {
return exePath; return exePath;
} }
private static String[] FIND_FIREFOX_SEARCH_PATHS_OSX() { private static String[] FIND_FIREFOX_SEARCH_PATHS_OSX() {
String[] path = new String[] {"/Applications/Firefox.app/Contents/MacOS", String[] path = new String[] {"/Applications/Tor Browser.app/Contents/MacOS",
"/Applications/Firefox.app/Contents/MacOS",
"/Applications/Waterfox.app/Contents/MacOS", "/Applications/Waterfox.app/Contents/MacOS",
"/Applications/Librewolf.app/Contents/MacOS"}; "/Applications/Librewolf.app/Contents/MacOS"};
String[] exes = new String[] {"firefox", "firefox-bin", "firefox-esr", String[] exes = new String[] {"firefox", "firefox-bin", "firefox-esr",