[tor-commits] [sandboxed-tor-browser/master] Bug 21091: Set `TOR_HIDE_UPDATE_CHECK_UI` to hide the torbutton menu entry.

yawning at torproject.org yawning at torproject.org
Sat Jan 7 20:01:57 UTC 2017


commit d13b8e2e9c134e7b969df190cffb8dc02dbafe19
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Sat Jan 7 20:00:01 2017 +0000

    Bug 21091: Set `TOR_HIDE_UPDATE_CHECK_UI` to hide the torbutton menu entry.
    
    The browser folks wanted a different env var than what I came up with
    because it's more generically applicable to other projects.  I still
    need to fix up my branch, but changing this is trivial so I'll do that
    first.
---
 src/cmd/sandboxed-tor-browser/internal/sandbox/application.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go b/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go
index 29fea85..8d9eca9 100644
--- a/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go
+++ b/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go
@@ -163,7 +163,7 @@ func RunTorBrowser(cfg *config.Config, manif *config.Manifest, tor *tor.Tor) (cm
 	h.setenv("TOR_CONTROL_PORT", "9151")
 	h.setenv("TOR_SKIP_LAUNCH", "1")
 	h.setenv("TOR_NO_DISPLAY_NETWORK_SETTINGS", "1")
-	h.setenv("TOR_SANDBOX", "linux-v0")
+	h.setenv("TOR_HIDE_UPDATE_CHECK_UI", "1")
 
 	// Inject the AF_LOCAL compatibility hack stub into the filesystem, and
 	// supply the relevant args required for functionality.



More information about the tor-commits mailing list