From 5cfc9aa33306d54addc17be8ad10a7e4d6543e1b Mon Sep 17 00:00:00 2001 From: KeksNino Date: Sat, 23 Aug 2025 02:03:18 +0200 Subject: [PATCH] updated gitignore and download file name --- .gitignore | 4 ++++ main.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4c49bd7..bac8dc0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ .env +build +dist +main.spec +venv diff --git a/main.py b/main.py index 0aa54a7..aff1472 100644 --- a/main.py +++ b/main.py @@ -54,7 +54,7 @@ if found == True: download_url = file.json()['data']['downloadUrl'] print(f"Download Url: {download_url}") dl_response = requests.get(download_url, stream=True) - with open(f"{selected_modpack_name}.zip", 'wb') as f: + with open(f"{selected_modpack_name}-server.zip", 'wb') as f: for chunk in dl_response.iter_content(chunk_size=8192): f.write(chunk) break