[tor-commits] [Git][tpo/applications/torbrowser-launcher][main] Set the TORBROWSER_LAUNCHER environment variable (#8)
boklm (@boklm)
git at gitlab.torproject.org
Mon Jan 8 12:53:07 UTC 2024
boklm pushed to branch main at The Tor Project / Applications / torbrowser-launcher
Commits:
f4d2e314 by Nicolas Vigier at 2024-01-08T11:32:06+01:00
Set the TORBROWSER_LAUNCHER environment variable (#8)
Set an environment variable to make it easier for Tor Browser to see
that torbrowser-launcher is being used.
- - - - -
1 changed file:
- torbrowser_launcher/__init__.py
Changes:
=====================================
torbrowser_launcher/__init__.py
=====================================
@@ -64,6 +64,10 @@ def main():
settings = bool(args.settings)
url_list = args.url
+ # Set the TORBROWSER_LAUNCHER env variable to make it easier to
+ # detect that torbrowser-launcher is being used
+ os.environ["TORBROWSER_LAUNCHER"] = "1"
+
# Load the version and print the banner
with open(os.path.join(SHARE, "version")) as buf:
tor_browser_launcher_version = buf.read().strip()
View it on GitLab: https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/commit/f4d2e314bfafaed8f24a00401a64c0605ac93270
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/commit/f4d2e314bfafaed8f24a00401a64c0605ac93270
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240108/db29ed42/attachment.htm>
More information about the tor-commits
mailing list