diff --git a/root-module-manual/server.py b/root-module-manual/server.py index 55844c9..44f7a7e 100644 --- a/root-module-manual/server.py +++ b/root-module-manual/server.py @@ -320,7 +320,7 @@ def api(): # Return the patched file directly try: - return send_file(file_path, as_attachment=True, attachment_filename=library_name) + return send_file(file_path, as_attachment=True, download_name=library_name) except Exception as e: logger.error(f"Error sending file: {str(e)}") return jsonify({"error": f"Error sending file: {str(e)}"}), 500 diff --git a/root-module/btl2capfix.zip b/root-module/btl2capfix.zip index 7da7e1f..80c3313 100644 Binary files a/root-module/btl2capfix.zip and b/root-module/btl2capfix.zip differ diff --git a/root-module/customize.sh b/root-module/customize.sh index 555887f..6b74295 100644 --- a/root-module/customize.sh +++ b/root-module/customize.sh @@ -1,6 +1,5 @@ #!/system/bin/sh - # Define variables API_URL="https://aln.kavishdevar.me/api" TEMP_DIR="$TMPDIR/aln_patch"