11 Commits
Author SHA1 Message Date
Tieu Long b3427bf931 fix: exclude beta versions from softwareupdate installer list 2026-04-07 14:56:00 +07:00
Tieu Long 3244dbdc5e fix: handle race condition after softwareupdate completes
Add short delay to ensure installer app exists in /Applications
before proceeding
2026-04-07 01:33:10 +07:00
Tieu Long 0776eb6bf4 refactor: fix SC2155 warnings, quote WORK_DIR paths 2026-03-21 20:20:40 +07:00
LongQT-sea cc35b2d8b6 chore: ensure macOS Mavericks+ compatibility
Fix compatibility issues with older macOS versions.
2025-12-26 22:41:56 +07:00
LongQT-sea 70e10fb6a7 chore: Prefer .img over .iso when appending to DMG images to avoid confusion 2025-12-26 13:28:06 +07:00
Tieu Long 8a93aaf852 ref: add proper Apple silicon support, apped '.iso' to DMG image
While the script is compatible with Apple silicon Macs, it’s still recommended
 to run it on an x86_64 Intel Mac for optimal results.

For easier use and distribution, the final DMG image will have '.iso' appended to its file name.
Rufus no longer require switching to "All files" to saw the DMG image in Explorer.
Also fix "qemu-img: Could not locate UDIF trailer in dmg file" error.
2025-12-21 01:04:38 +07:00
LongQT-sea 164088dc91 Improve cleanup function and add pipe detection for curl usage
- Fix cleanup to detach all mounted volumes (*_mnt) not just DISK_ID
- Detect piped input and show usage instead of broken interactive mode
2025-12-17 16:43:23 +07:00
LongQT-sea fc43bf363e Add ARM64 legacy macOS support and streamline Mavericks handling
- Early Darwin check
- ARM64 legacy install via pkgutil/cpio (10.7-10.12)
- Mavericks integrated into standard legacy flow
- Dynamic DMG sizing, extended curl timeout
2025-12-17 05:30:35 +07:00
LongQT-sea e1c5fdac4a fix: increase sleep to 5s to reduce rare detach_disk failures
Rare detach_disk failures can still occur even after 10 attempts.
Increasing the sleep duration to 5 seconds reduces the likelihood of these intermittent failures.
2025-12-16 17:44:26 +07:00
Tieu Long a18fab6079 fix: prevent stalled downloads by adding curl timeout and retries 2025-12-15 23:04:08 +07:00
LongQT-sea 828b53128d ref: Move creation logic to standalone script, add legacy macOS support
Move macOS installer image creation logic from GitHub workflow file
to a dedicated shell script `mkmaciso` for better maintainability and reusability.

Changes:
- Add support for legacy macOS versions:
  - 10.7 (Lion)
  - 10.8 (Mountain Lion)
  - 10.9 (Mavericks)
  - 10.10 (Yosemite)
  - 10.11 (El Capitan)
  - 10.12 (Sierra)
- Simplify workflow to call external script
- Enable running `mkmaciso` locally without GitHub Actions
2025-12-15 20:54:45 +07:00