Files
rayhunter/make.sh
Adrien Thebo 643fb802be make: install node deps when node_modules absent (#660)
* Install node deps via make.sh when absent

* Unconditionally install node modules
2025-10-19 01:24:44 +02:00

12 lines
359 B
Bash
Executable File

#!/bin/bash -e
pushd daemon/web
npm install
npm run build
popd
cargo build-daemon-firmware-devel
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon stop"'
adb push target/armv7-unknown-linux-musleabihf/firmware-devel/rayhunter-daemon \
/data/rayhunter/rayhunter-daemon
echo "rebooting the device..."
adb shell '/bin/rootshell -c "reboot"'