BirthdayResearch / defichain-app

DeFi Blockchain desktop app for Windows, Linux and Mac.
https://defichain.com
MIT License
158 stars 57 forks source link

Update prebuild.js for using the right cli arch while building electron-app #1311

Open Martin8617 opened 1 week ago

Martin8617 commented 1 week ago

the "prebuild.js" will pick up the the right cli files from defich/ain as a first step for build the desktop-app.

What kind of PR is this?:

/kind fix

What this PR does / why we need it:

It compares the cli arch with the same arch of the electron-builder

Which issue(s) does this PR fixes?:

While using PC with x64 or arm64 architecture the running cli must be the same as the desktop-app is.

Fixes #

Additional comments?:

This PR comes together with the changes in "packages.json"

fullstackninja864 commented 3 days ago

Can you combine yr both Pr and make it one please

Martin8617 commented 2 days ago

I don't know how I can put them together... ...I just started to create PR.