Skip to content

Conversation

@sfoster1
Copy link
Member

If you remove the sentry cli binaries (that are incompatible with our arch) in fakeroot from the install dir, then you actually invalidate the asar, which has the entries for everything in app.asar.unpacked as well as the stuff in app.asar in its registry so it can present them seamlessly. Instead, remove them from the "source" node_modules before we pack the app so they just never get packed in the first place.

If you remove the sentry cli binaries (that are incompatible with our
arch) in fakeroot from the install dir, then you actually invalidate the
asar, which has the entries for everything in app.asar.unpacked as well
as the stuff in app.asar in its registry so it can present them
seamlessly. Instead, remove them from the "source" node_modules before
we pack the app so they just never get packed in the first place.
@sfoster1 sfoster1 requested a review from mjhuff September 24, 2025 20:35
Copy link
Contributor

@mjhuff mjhuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bless you

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.

3 participants