Skip to content

Instantly share code, notes, and snippets.

@fishd72
Last active July 14, 2025 06: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 cp -r /usr/local/src/pwnagotchi/pwnagotchi/* /usr/local/lib/python3.7/dist-packages/pwnagotchi/
sudo cp /usr/local/src/pwnagotchi/bin/pwnagotchi /usr/local/bin/pwnagotchi
@Kree879
Copy link

Kree879 commented Mar 27, 2025

I am struggling to get my V3 working. The "sudo git pull" does not work. fatal: not a git repository (or any of the parent directories): .git
Any suggestions?

@fishd72
Copy link
Author

fishd72 commented Mar 27, 2025

This is a complete disaster to get working properly with V4.

This was a personal fix for me to get my V3 screen working and at the time, I figured I would share it with others. If you're unhappy about it not fixing something that it wasn't meant to fix... then... ?

@Kree879 - this was only to get the original Pwnagotchi image working... if you're using anything else other than that v1.5.5 image, it can't help you.

I rebuilt my pwnagotchi at the beginning of the year using the 1.5.5 image and this worked fine, as there have been no updates to that image in forever, I can't see why it would have changed.

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