Skip to content

Commit 9c95587

Browse files
committed
Start playing around with Linux 6.
1 parent a941e13 commit 9c95587

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package/packaging_utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ def download_wezterm(vendored_dir, wezterm_foldername):
2121
if not wezterm_extracted_dir.exists():
2222
print("⬇ Downloading WezTerm...")
2323
vendored_dir.mkdir(parents=True, exist_ok=True)
24-
requests.get(wezterm_url)
24+
response = requests.get(wezterm_url)
25+
response.raise_for_status()
26+
27+
with open(wezterm_zip_path, "wb") as f:
28+
f.write(response.content)
2529

2630
print("📦 Extracting WezTerm with system unzip...")
2731

0 commit comments

Comments
 (0)