Fix: Sanitize manifest CRLF line endings and complete Windows release packaging #22

Merged
gronod merged 1 commits from fix/windows-package-crlf-manifests into development 2026-08-28 20:23:35 +01:00
Owner

Summary

Fixes issue where Windows release archive was missing USB drivers, documentation, and root files due to DOS CRLF line endings in manifest files (binfiles, doc/afiles, usb/binfiles.msw).

Fixes #21

Changes

  • makepackagebin.sh:
    • Filter manifest file contents using tr -d '\r' before iterating.
    • Automatically create/ensure copies of ArgyllCMS.cat for ArgyllCMS_x64.cat and ArgyllCMS_arm64.cat.
    • Added error exit check on cp.
  • usb/:
    • Committed usb/ArgyllCMS_x64.cat and usb/ArgyllCMS_arm64.cat.
  • .gitea/workflows/build-windows.yml & .github/workflows/build-windows.yml:
    • Added package verification step to check for usb/ArgyllCMS.inf, usb/bin/amd64/libusb0.sys, doc/ArgyllDoc.html, and ReadMe.txt in the release zip.
### Summary Fixes issue where Windows release archive was missing USB drivers, documentation, and root files due to DOS CRLF line endings in manifest files (`binfiles`, `doc/afiles`, `usb/binfiles.msw`). Fixes #21 ### Changes - **`makepackagebin.sh`**: - Filter manifest file contents using `tr -d '\r'` before iterating. - Automatically create/ensure copies of `ArgyllCMS.cat` for `ArgyllCMS_x64.cat` and `ArgyllCMS_arm64.cat`. - Added error exit check on `cp`. - **`usb/`**: - Committed `usb/ArgyllCMS_x64.cat` and `usb/ArgyllCMS_arm64.cat`. - **`.gitea/workflows/build-windows.yml` & `.github/workflows/build-windows.yml`**: - Added package verification step to check for `usb/ArgyllCMS.inf`, `usb/bin/amd64/libusb0.sys`, `doc/ArgyllDoc.html`, and `ReadMe.txt` in the release zip.
gronod added 1 commit 2026-08-28 20:23:32 +01:00
gronod merged commit 429c772e4a into development 2026-08-28 20:23:35 +01:00
Sign in to join this conversation.