Skip to content

Instantly share code, notes, and snippets.

@StancuFlorin
Forked from fishd72/WaveshareV3_pwnagotchi.sh
Last active February 10, 2024 17:53
Show Gist options
  • Save StancuFlorin/51348ee45685652695c90c599ab26401 to your computer and use it in GitHub Desktop.
Save StancuFlorin/51348ee45685652695c90c599ab26401 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /usr/local/src/pwnagotchi
sudo git pull
sudo mkdir /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/hw/libs/waveshare/v3/
sudo cp /usr/local/src/pwnagotchi/pwnagotchi/ui/display.py /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/
sudo cp /usr/local/src/pwnagotchi/pwnagotchi/ui/hw/__init__.py /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/hw/
sudo cp /usr/local/src/pwnagotchi/pwnagotchi/ui/hw/libs/waveshare/v3/epd2in13_V3.py /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/hw/libs/waveshare/v3/
sudo cp /usr/local/src/pwnagotchi/pwnagotchi/ui/hw/libs/waveshare/v3/epdconfig.py /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/hw/libs/waveshare/v3/
sudo cp /usr/local/src/pwnagotchi/pwnagotchi/ui/hw/waveshare3.py /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/hw/
sudo cp /usr/local/src/pwnagotchi/pwnagotchi/utils.py /usr/local/lib/python3.7/dist-packages/pwnagotchi/
sudo cp /usr/local/src/pwnagotchi/pwnagotchi/ui/hw/waveshare35lcd.py /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/hw/
sudo systemctl stop pwnagotchi
pip3 uninstall -y pwnagotchi
pip3 install .
sudo systemctl start pwnagotchi
sudo systemctl status pwnagotchi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment