-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Code signing on MacOS should skip text files #6085
Comments
It seems to be exposed already but as Anyways, Additionally, we upgraded electron-osx-sign in #6021. Please try 'next' @ 22.11.10 (hopefully soon to be |
Thanks, I upgraded to 22.11.10. For whatever reason, the
Through instrumentation of the
In doing some experimentation, here is what I have found:
Assuming I am not missing something, I am not sure I understand the rationale for this seemingly inconsistent behavior. |
Unfortunately, the rationale was defined by the electron team themself. They own the upstream dependency that electron-builder is using As a hack for you, you could try adding the
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Can the new |
Yes, it should be able to handle that directly now with |
Our electron-based application is embedding installations of two other open source projects (not set up for Electron) that include a mixture of binary and text files (e.g., json files that the application expects to be at a fixed location and cannot be moved because it is the knowledge-base that drives the application behavior and is internal to the application). In trying to use electron-builder's MacOS code signing support (following
https://www.electron.build/code-signing
), we get an error when trying to sign the application due for the first non-binary file it finds (e.g., a JSON file, a LICENSE file, etc.).While
electron-osx-sign
appears to have a-ignore
option, it doesn't seem to be exposed by electron-builder. It would be a HUGE usability improvement to be able to tell electron-builder to exclude any non-binary file it finds in the application being signed. At an absolute minimum, the-ignore=path
option ofelectron-osx-sign
should be surfaced but this option seems pretty limiting so it would be better to support something where the user could either enumerate the files to skip (or even better, electron-builder just figured it out).The text was updated successfully, but these errors were encountered: