mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
25 lines
529 B
Bash
Executable File
25 lines
529 B
Bash
Executable File
#!/bin/bash
|
|
|
|
check_exists() {
|
|
command -v "$1" > /dev/null
|
|
}
|
|
if ! check_exists esptool.py
|
|
then
|
|
echo "esptool.py not installed!"
|
|
echo "install with this command: pip install esptool"
|
|
exit 1
|
|
fi
|
|
if ! check_exists ldproxy
|
|
then
|
|
echo "ldproxy not installed!"
|
|
echo "install with this command: cargo install ldproxy"
|
|
exit 1
|
|
fi
|
|
if ! check_exists cargo-espflash
|
|
then
|
|
echo "cargo-espflash not installed!"
|
|
echo "install with this command: cargo install cargo-espflash"
|
|
exit 1
|
|
fi
|
|
cargo espflash monitor
|