File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ mkdir -p ./test/hardware/logs
1212
1313# Make scripts executable
1414chmod +x ./scripts/setup-hw-testing.sh
15+ chmod +x ./scripts/install-trezor-bridge.sh
1516
1617echo " 📦 Installing system dependencies..."
1718
3132# Install Trezor Bridge (if not already installed)
3233if ! command -v trezord > /dev/null 2>&1 ; then
3334 echo " Installing Trezor Bridge..."
34-
35- if [[ " $OSTYPE " == " darwin" * ]]; then
36- # macOS
37- if command -v brew > /dev/null 2>&1 ; then
38- brew install trezor-suite
39- else
40- echo " Please install Trezor Suite from https://suite.trezor.io/"
41- fi
42- elif [[ " $OSTYPE " == " linux-gnu" * ]]; then
43- # Linux
44- wget -O /tmp/trezor-bridge.deb https://wallet.trezor.io/data/bridge/2.0.31/trezor-bridge_2.0.31_amd64.deb
45- sudo dpkg -i /tmp/trezor-bridge.deb || sudo apt-get install -f
46- rm /tmp/trezor-bridge.deb
47- else
48- echo " Please install Trezor Bridge manually from https://suite.trezor.io/trezor-bridge"
49- fi
35+ ./scripts/install-trezor-bridge.sh
5036fi
5137
5238echo " ✅ Hardware testing environment setup complete!"
You can’t perform that action at this time.
0 commit comments