Update macos-build-script.sh
Refactor and enhance data download logic - Refactor data download process into reusable functions. - Pass file info like URL, filenames, dirs in array. - Validate hash after download to ensure integrity. - Handle zips, renaming, redownload on failure. - Loop through array to download all files. - Skip existing files if hash matches expected. - Extract libraries based on architecture. - Use variables for directories and file paths. - Add checklist validation before proceeding. - Standardize logging format with emojis. - Fail fast if any expected files are missing. - More robust handling of archives and failures.
Loading
Please sign in to comment