Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

ARM builds #142

Open
Botspot opened this issue May 26, 2023 · 7 comments
Open

ARM builds #142

Botspot opened this issue May 26, 2023 · 7 comments

Comments

@Botspot
Copy link

Botspot commented May 26, 2023

This should be a fairly easy question to answer. I am interested in adding this to our ARM linux app store. To do that, this needs to be built to run on ARM64 and armhf linux. We already have numerous other electron apps with node on the store, so something like this is almost routine.

Your build system automates the process of building single binaries for linux, Windows, and MacOS. I have a Raspberry Pi to run a test build on, but it keeps building x86_64 binaries. Is there a way to change this behavior? These are the commands I have run:

git clone --branch main https://github.com/binarybaron/unstoppableswap-gui
cd unstoppableswap-gui
npm install
npm run build

All commands complete successfully on my Pi without modification. That last npm run build creates some binaries in the ~/unstoppableswap-gui/build/bin directory.
For linux that results in this file: ~/unstoppableswap-gui/build/bin/swap/linux/swap, which is a x86_64 binary.

How can npm run build be changed to build an arm64 or armhf binary instead? I have tried running this command but it made no difference.

npm run build --arch=arm64
@Botspot
Copy link
Author

Botspot commented Jul 21, 2023

Please respond.

@binarybaron
Copy link
Collaborator

I apologize for the delay. This requires some changes because we package a few (2) precompiled binaries to be bundled with the application. I'll update the code to include arm binaries within a few days.

@Botspot
Copy link
Author

Botspot commented Aug 5, 2023

Any updates on that @binarybaron?

@Botspot
Copy link
Author

Botspot commented Dec 15, 2023

@binarybaron?

@Botspot
Copy link
Author

Botspot commented Feb 11, 2024

@binarybaron is this repo still active or did you abandon this project?

@binarybaron
Copy link
Collaborator

This project has not been abandoned. We have been busy with other issues. I hope to get to this soon

@Botspot
Copy link
Author

Botspot commented Apr 5, 2024

Any way I could help with this? This issue was opened nearly a year ago and I still cannot run this software on my Raspberry Pi, which is my primary desktop computer. :(

This requires some changes because we package a few (2) precompiled binaries to be bundled with the application. I'll update the code to include arm binaries within a few days.

What were the binaries?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants