Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
3a9f91cb
by Pier Angelo Vendrame at 2026-01-29T10:54:46+01:00
1 changed file:
Changes:
| ... | ... | @@ -395,7 +395,9 @@ class ReleasePreparation: |
| 395 | 395 | logger.debug("No need to update the %s extension.", name)
|
| 396 | 396 | return
|
| 397 | 397 | input_["URL"] = url
|
| 398 | - path = self.base_path / "out/browser" / url.split("/")[-1]
|
|
| 398 | + path = self.base_path / "out/browser"
|
|
| 399 | + path.mkdir(parents=True, exist_ok=True)
|
|
| 400 | + path /= url.split("/")[-1]
|
|
| 399 | 401 | # The extension should be small enough to easily fit in memory :)
|
| 400 | 402 | if not path.exists():
|
| 401 | 403 | r = requests.get(url)
|