Skip to content

Commit

Permalink
stop before upload in case file is locked from writing by running pro…
Browse files Browse the repository at this point in the history
…cess
  • Loading branch information
cooperq authored and wgreenberg committed Feb 10, 2025
1 parent c9ac834 commit 840f8ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
cargo build --release --target="armv7-unknown-linux-gnueabihf" #--features debug
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon stop"'
adb push target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon /data/rayhunter/rayhunter-daemon
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon restart"'
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon start"'

0 comments on commit 840f8ad

Please sign in to comment.