A bash script to compile Signal Desktop for the Raspberry Pi 4 on Ubuntu 21.04.
This solution is based upon this PKGBUILD provided by user ohfp on Gitlab. Running this PKGBUILD file using makedeb
doesn't build Signal Desktop successfully, due to issues with node-abi
being too outdated for electron 13.1.8
.
This repository provides all the patches found in the original project, plus a new patch fixing node-abi
version inside the yarn.lock
file.
Important note 1: this script also installs nvm
and rustup
. If you already have those software installed, please skip installation of those commenting out lines 7, 10, 11 and 14 in the script.
Important note 2: node 14.16.0 must be used. Install with nvm install 14.16.0
and nvm use 14.16.0
.
Tested on Ubuntu 21.04.
Huge thanks to @lsfxz (@ohfp on Gitlab) for providing most of the source code that is available in this repo.