How to build Elemntary [Wahoo]
Step by step guide in how to build elemntary
What's elemntary?
It's a open source software developed in Electron, a framework for building cross-platform desktop applications using web technologies such as HTML, CSS, and JavaScript.
What does it do?
It allows you to read and modify content and properties of your Wahoo device, which is based on Android. It uses adb to connect to the different devices.
How to build
In order to build the app (create the executable file ./elemntary) you need to follow these steps (tested in Ubuntu 22.04):
#install npm
sudo apt update
sudo apt install npm
- Install Electron framework
npm install electron --save-dev
- It's required for npm version to be >= v16. In Ubuntu the npm is set to 12.x.
If version is not correct you will get this error:
To fix this issue you just need to install npm’s latest version:
sudo npm install -g n
#update node to the latest version…