fix(install): Include driver abstraction files in installer

Updated install.sh to copy the new driver abstraction files
(bluetooth_driver.py and linux_bluetooth_driver.py) that were added
during the driver refactor. These files are required by BLEInterface.py
and were causing import failures in the installer integration test.

Changes:
- Copy bluetooth_driver.py to ~/.reticulum/interfaces/
- Copy linux_bluetooth_driver.py to ~/.reticulum/interfaces/
- Update success message to list the new driver files

Fixes installer test failure:
ModuleNotFoundError: No module named 'bluetooth_driver'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
torlando-tech 2025-11-07 23:28:45 -05:00
commit b5f21c3fd4

View file

@ -379,7 +379,10 @@ mkdir -p "$INTERFACES_DIR"
# Copy interface files
print_info "Copying BLE interface files to: $INTERFACES_DIR"
cp src/RNS/Interfaces/BLE*.py "$INTERFACES_DIR/"
cp src/RNS/Interfaces/BLE*.py \
src/RNS/Interfaces/bluetooth_driver.py \
src/RNS/Interfaces/linux_bluetooth_driver.py \
"$INTERFACES_DIR/"
# Create __init__.py if it doesn't exist
if [ ! -f "$INTERFACES_DIR/__init__.py" ]; then
@ -391,6 +394,8 @@ echo " - BLEInterface.py"
echo " - BLEGATTServer.py"
echo " - BLEFragmentation.py"
echo " - BLEAgent.py"
echo " - bluetooth_driver.py"
echo " - linux_bluetooth_driver.py"
echo