In working through a number of issues trying to get electron-builder to sign/notarize my application (which is packaged as a DMG installer), I ran into issues with text files in the Contents directory. I was hopeful when I found the -ignore option (surfaced in electron-builder as signIgnore). Unfortunately, what I found was:
- Files in the root MyApp.app/Contents directory cannot be filtered (i.e., the ignore() function is never called for them).
- Files in the subdirectories of MyApp.app/Contents are already being filtered (e.g., the ignore() function is never called for MyApp.app/Contents/tools/weblogic-deploy/LICENSE.txt but code signing is skipping the file automatically).
I don't understand the the rationale for this seemingly inconsistent behavior. You can see more details at electron-userland/electron-builder#6085.
In working through a number of issues trying to get electron-builder to sign/notarize my application (which is packaged as a DMG installer), I ran into issues with text files in the
Contentsdirectory. I was hopeful when I found the-ignoreoption (surfaced in electron-builder assignIgnore). Unfortunately, what I found was:I don't understand the the rationale for this seemingly inconsistent behavior. You can see more details at electron-userland/electron-builder#6085.