From 45f6e7c20e81a3aff8cf3f06ae6cb6f903b5025c Mon Sep 17 00:00:00 2001 From: Chuck Date: Thu, 19 Feb 2026 09:30:25 -0500 Subject: [PATCH] fix(starlark): use correct 'fileName' field from manifest (camelCase) The Tronbyte manifest uses 'fileName' (camelCase), not 'filename' (lowercase). This caused the download to fall back to {app_id}.star which doesn't exist for apps like analogclock (which has analog_clock.star). Co-Authored-By: Claude Sonnet 4.5 --- web_interface/blueprints/api_v3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_interface/blueprints/api_v3.py b/web_interface/blueprints/api_v3.py index 9860158a..002d85dc 100644 --- a/web_interface/blueprints/api_v3.py +++ b/web_interface/blueprints/api_v3.py @@ -7565,7 +7565,8 @@ def install_from_tronbyte_repository(): try: # Pass filename from metadata (e.g., "analog_clock.star" for analogclock app) - filename = metadata.get('filename') if metadata else None + # Note: manifest uses 'fileName' (camelCase), not 'filename' + filename = metadata.get('fileName') if metadata else None success, error = repo.download_star_file(data['app_id'], Path(temp_path), filename=filename) if not success: return jsonify({'status': 'error', 'message': f'Failed to download app: {error}'}), 500