electron / universal

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

Error: Both the x64 and arm64 versions of your application need to have been built with the same asar settings (enabled vs disabled) #26

Closed silarvaibhav closed 3 years ago

silarvaibhav commented 3 years ago

"@electron/universal": "1.0.5", "electron": "11.4.8", "electron-builder": "22.11.7", "electron-webpack": "2.8.2"

I am creating unsigned app for x64 and arm64 using elecrtron-builder which is successful electron-builder --macos --arm64 --x64

But when I combine them using universal setting, below error comes:

Error: Both the x64 and arm64 versions of your application need to have been built with the same asar settings (enabled vs disabled) Same package.json is used to create both application.

Any pointer will be appreciated.

Thanks

silarvaibhav commented 3 years ago

Silly mistake, one of the app path was not correct. Thanks