mirror of
https://github.com/torproject/torbrowser-launcher.git
synced 2024-10-06 23:23:22 +00: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.
This commit is contained in:
parent
e1e16dbb02
commit
f4d2e314bf
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user