Skip to content

Conversation

@scoopr
Copy link

@scoopr scoopr commented Dec 2, 2025

The copy with -r breaks the codesigning signature, as it copies the symbolic link contents, instead of the link itself.

Changing it to -R fixes it on macOS.

Also the .app disk size is slightly smaller as the symbolic link contents is not duplicated.

Fixes #6

The copy with `-r` breaks the codesigning signature, as it copies
the symbolic link contents, instead of the link itself.

Changing it to `-R` fixes it on macOS.

Also the .app disk size is slightly smaller as the symbolic link
contents is not duplicated.
@scoopr scoopr requested a review from a team as a code owner December 2, 2025 11:23
@scoopr
Copy link
Author

scoopr commented Dec 2, 2025

Trying to read if it changes anything for Linux, it looks like man page specifies -r and -R to be equivalent, and its actually the -P that controls the following of symlinks, which -R on macos implies. I'm fine either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Mac OS says the downloaded CMake app is damaged

1 participant