Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM-60080] Fixed the MAS migration from the DMG build, fixed a potential crash case #3186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devinbinnie
Copy link
Member

Summary

At some point, the MAS migration broke due to what I assume is a change in behaviour of fs.cpSync. To copy directories now, you need to include recursive: true as an option. This is likely something that changed in macOS, as Node doesn't seem to make any mention of this.

While investigating and fixing the issue, I ran into a case where the app can crash due to certain singletons that might try to register a duplicate handler.

This PR fixes both of the above issues.

Ticket Link

https://mattermost.atlassian.net/browse/MM-60080

Fixed an issue where the MAS migration from DMG would always fail, fixed a potential crash case

@devinbinnie devinbinnie added the 2: Dev Review Requires review by a core committer label Oct 25, 2024
@devinbinnie devinbinnie added this to the v5.11.0 milestone Oct 25, 2024
@devinbinnie devinbinnie requested review from enzowritescode, a team, fmartingr and marianunez and removed request for a team October 25, 2024 18:58
@devinbinnie devinbinnie removed the request for review from marianunez October 25, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants