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
1 changed file:
Changes:
| ... | ... | @@ -64,6 +64,10 @@ def main(): |
| 64 | 64 | settings = bool(args.settings)
|
| 65 | 65 | url_list = args.url
|
| 66 | 66 | |
| 67 | + # Set the TORBROWSER_LAUNCHER env variable to make it easier to
|
|
| 68 | + # detect that torbrowser-launcher is being used
|
|
| 69 | + os.environ["TORBROWSER_LAUNCHER"] = "1"
|
|
| 70 | + |
|
| 67 | 71 | # Load the version and print the banner
|
| 68 | 72 | with open(os.path.join(SHARE, "version")) as buf:
|
| 69 | 73 | tor_browser_launcher_version = buf.read().strip()
|