electron / universal

Create Universal macOS applications from two x64 and arm64 Electron applications
MIT License
112 stars 43 forks source link

Handle `file` errors #16

Closed jtbandes closed 3 years ago

jtbandes commented 3 years ago

The file command may sometimes fail. For example, certain versions of it fail on .wasm files: https://bugs.astron.com/view.php?id=170

It's only used for determining if a file is a Mach-O file, so it seems like errors can be safely ignored here.

This PR makes it possible to package an app that contains a wasm file with asar disabled.

jtbandes commented 3 years ago

Oops, I just realized @erkyrath already did this in #13.

MarshallOfSound commented 3 years ago

Closing as #13 landed