Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Replaced cpSync with ditto for copying files in expand-macos-bundle.mjs to improve reliability and error handling. - Introduced a new copyMacAppBundle function in finalize-desktop-artifacts.mjs to streamline app bundle copying and signing processes. - Enhanced error handling for ditto and codesign commands to provide clearer feedback on failures. - Updated DMG creation logic to conditionally use direct source folder, optimizing the build process.