libsql-client-ts icon indicating copy to clipboard operation
libsql-client-ts copied to clipboard

How to force `yarn install` to install both `darwin-x64` and `darwin-arm64` on ARM Electron build?

Open rathboma opened this issue 1 year ago • 1 comments

Hi team,

I use electron-builder to build Beekeeper Studio. I just announced LibSQL compatibility but had to take it back because it broke my x64 Mac builds.

In electron, it's common practice to use an ARM64 Mac to build BOTH arm and x64 versions of the app. In fact you can also build a single universal binary.

However when I do this, only the darwin-arm64 package is installed, not the darwin-x86_64 package.

Is there a way to properly force both?

rathboma avatar Jun 14 '24 20:06 rathboma