Skip to content
Unverified Commit 013da8bf authored by hyrulelinks's avatar hyrulelinks Committed by GitHub
Browse files

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.
parent 5ca45d69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment