From f9563ebad4ca0571ea17b32d2ee1be36a37a3ca2 Mon Sep 17 00:00:00 2001 From: idk Date: Sat, 1 Oct 2022 17:48:25 -0400 Subject: [PATCH] re-add Tor Browser support to OSX Former-commit-id: 812c63e5e837d3675b302ffdc92d90cd928d2c60 Former-commit-id: 938d13b82ad102303304b19e86516ed708c39e30 --- CHANGES.md | 1 + README.md | 1 - src/java/net/i2p/i2pfirefox/I2PFirefox.java | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index fcdc5e1..6f615cb 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 - Deterministically generate .zip files + - Add Tor Browser support to OSX Sun, September 25 ----------------- diff --git a/README.md b/README.md index be566b5..0f0fe91 100755 --- a/README.md +++ b/README.md @@ -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 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. -- 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.** ### Usability vs Strict diff --git a/src/java/net/i2p/i2pfirefox/I2PFirefox.java b/src/java/net/i2p/i2pfirefox/I2PFirefox.java index b982385..8bb2aab 100644 --- a/src/java/net/i2p/i2pfirefox/I2PFirefox.java +++ b/src/java/net/i2p/i2pfirefox/I2PFirefox.java @@ -61,7 +61,8 @@ public class I2PFirefox extends I2PCommonBrowser { return exePath; } 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/Librewolf.app/Contents/MacOS"}; String[] exes = new String[] {"firefox", "firefox-bin", "firefox-esr",