Skip to content

Instantly share code, notes, and snippets.

@fishd72
Created April 7, 2023 17:14
Show Gist options
  • Save fishd72/d3518ef40479a9272f2bd6c425b7af07 to your computer and use it in GitHub Desktop.
Save fishd72/d3518ef40479a9272f2bd6c425b7af07 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/
@dajtp
Copy link

dajtp commented Jan 20, 2024

This script has always worked for me in the past, but on this occasion I'm having no luck with it. I'm running the script as I usually do after setting up and checking I've got internet connectivity (ping google.com), and when running the script it goes through without any errors. But for some reason, I'm getting no life from my V3 Waveshare screen.

Any ideas anyone?

@wpa-2
Copy link

wpa-2 commented Jan 26, 2024

This script has always worked for me in the past, but on this occasion I'm having no luck with it. I'm running the script as I usually do after setting up and checking I've got internet connectivity (ping google.com), and when running the script it goes through without any errors. But for some reason, I'm getting no life from my V3 Waveshare screen.

Any ideas anyone?

most of the recent images will be working out the box and this script will not be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment