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

fix: binary checking #8310

Merged
merged 5 commits into from
Jul 10, 2024
Merged

fix: binary checking #8310

merged 5 commits into from
Jul 10, 2024

Conversation

beyondkmp
Copy link
Collaborator

@beyondkmp beyondkmp commented Jul 9, 2024

If a module contains a folder with a name like test.app or test.framework, and there are binary files inside, it will be incorrectly processed and the module will be placed in app.asar instead of being smartly unpacked into app.asar.unpacked.

Copy link

changeset-bot bot commented Jul 9, 2024

🦋 Changeset detected

Latest commit: 4695d7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
app-builder-lib Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-builder Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Jul 9, 2024

Deploy Preview for car-park-attendant-cleat-11576 ready!

Name Link
🔨 Latest commit 4695d7f
🔍 Latest deploy log https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/668e1a28e56cee00088717c9
😎 Deploy Preview https://deploy-preview-8310--car-park-attendant-cleat-11576.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@beyondkmp
Copy link
Collaborator Author

@mmaietta I'm curious why these files are being checked separately. They should all be binary files as well.

moduleName === "ffprobe-static" || moduleName === "ffmpeg-static" || isLibOrExe(file)

Do you know why this is happening? This approach doesn't seem very smart.

@mmaietta
Copy link
Collaborator

@mmaietta I'm curious why these files are being checked separately. They should all be binary files as well.

moduleName === "ffprobe-static" || moduleName === "ffmpeg-static" || isLibOrExe(file)

Do you know why this is happening? This approach doesn't seem very smart.

Honestly, I don't know either. That logic predates me joining the maintainer crew.

@mmaietta mmaietta merged commit 145ecb6 into electron-userland:master Jul 10, 2024
13 checks passed
@mmaietta
Copy link
Collaborator

Side note, thank you @beyondkmp for all your contributions! I really appreciate all the efforts you've been doing to help improve electron-builder (and app-builder as well)!

@beyondkmp
Copy link
Collaborator Author

@mmaietta I have a question: how can I become a maintainer?

@mmaietta
Copy link
Collaborator

If you have discord, contact me at onegoldfish and we can chat further and be able to stay more in sync for collaboration 😃

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

Successfully merging this pull request may close these issues.

2 participants