Skip to content

Commit 47ad5b8

Browse files
committed
fixup! fix(hardware-trezor): support derivationType in getXpub method
1 parent b98e3dc commit 47ad5b8

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

packages/wallet/scripts/setup-hw-testing.sh

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mkdir -p ./test/hardware/logs
1212

1313
# Make scripts executable
1414
chmod +x ./scripts/setup-hw-testing.sh
15+
chmod +x ./scripts/install-trezor-bridge.sh
1516

1617
echo "📦 Installing system dependencies..."
1718

@@ -31,22 +32,7 @@ fi
3132
# Install Trezor Bridge (if not already installed)
3233
if ! 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
5036
fi
5137

5238
echo "✅ Hardware testing environment setup complete!"

0 commit comments

Comments
 (0)