Druid boilerplate for Pinephone app development.
Install cross
:
cargo install cross
Install docker
:
https://docs.docker.com/engine/install/
Build the project using cross:
cross build --target=aarch64-unknown-linux-gnu --release
Send the project to the phone:
scp -r path/to/project {phone-username}@{phone-ip}:~/druid-app-boilerplate
Copy the release binary to /usr/local/bin
:
sudo cp target/aarch64-unknown-linux-gnu/release/boilerplate /usr/local/bin
Install the desktop app with logo:
sudo cp extra/logo/boilerplate.svg /usr/share/pixmaps/Boilerplate.svg
sudo desktop-file-install extra/linux/Boilerplate.desktop
sudo update-desktop-database
Replace these build and install instructions with an easier flatpak/snap setup.