Skip to content

Conversation

@montyc1999
Copy link
Contributor

@montyc1999 montyc1999 commented Jul 24, 2025

Currently, Mac apps have an invalid signature after updating.

This is because the file MyApp.app/Contents/MacOS/sq.version is text, so its code signature is stored in a macos extended attribute, which gets lost when packaged into a .nupkg. (binary files' signatures get stored in the binaries themselves, rather than in xattrs)

refs:


This PR demonstrates a workaround: put sq.version in the Resources folder instead, so it can be unsigned. Then we can symlink to it from MacOS/sq.version, since symlinks in the MacOS folder don't need to be signed.

Of course, this doesn't solve the issue of other text files that users may want to codesign, but that's a job for #63

… Workaround for code signature not being preserved after updates.
@caesay caesay merged commit c9c3102 into velopack:develop Aug 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants