Closed squalle0nhart closed 3 years ago
Is there any way to ignore some files with SHA checking ?
No, the "AsarIntegrity" feature of electron-builder is fundamentally a terrible idea and if possible you should just turn off that feature 👍 For example, this error is legit. If you choose a single AsarIntegrity hash the integrity check will failure dramatically on a universal binary because the content will be different. It's a not-great solution to a barely existent problem 😄
To further clarify the SHA checking is key to the functional success of this module, if the SHAs don't match the resultant app will be unpredictable in behavior as you started two divergent apps.
Error message:
It seem that
Contents/Info.plist
current haveAsarIntegrity
value that contain checksum ofapp.asar
file. However with some native modules app.asar contents is different. That make SHA check fail and universal build will fail.Is there any way to ignore some files with SHA checking ?