Compare commits

..

8 Commits

Author SHA1 Message Date
d259e862ba Version 2.6.7 2024-01-12 22:33:08 +01:00
5844e51cf8 Version 2.6.6 2024-01-12 21:22:49 +01:00
5ca0bebea7 Version 2.6.6 2024-01-12 21:18:46 +01:00
5824a6d77c Version 2.6.5 2024-01-12 21:08:09 +01:00
bee02ab0cb UpSet werkzeug to false 2024-01-12 21:07:11 +01:00
211b60dcf6 Merge remote-tracking branch 'origin/master' 2024-01-12 19:11:00 +01:00
7ce497e56e Update 2024-01-12 19:08:44 +01:00
baf31f4523 Update README.md
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2024-01-12 19:07:04 +01:00
7 changed files with 11 additions and 13 deletions

View File

@ -4,7 +4,7 @@
It seems the Pi 5 is unable to run in monitor mode, will keep you updated on this. It seems the Pi 5 is unable to run in monitor mode, will keep you updated on this.
If you are using an older 32-bit version Raspberry Pi, ZeroWH, use this [fork](https://github.com/jayofelony/pwnagotchi-torch/releases/tag/v2.5.4) and make sure you download the `armhf` version. If you are using an older 32-bit version Raspberry Pi, ZeroWH, use this [fork](https://github.com/jayofelony/pwnagotchi-torch/releases/tag/v2.6.4) and make sure you download the `armhf` version.
--- ---
Download latest image file [here](https://github.com/jayofelony/pwnagotchi-bookworm/releases/tag/v2.6.2), and let it auto-update from here on out. Download latest image file [here](https://github.com/jayofelony/pwnagotchi-bookworm/releases/tag/v2.6.2), and let it auto-update from here on out.

View File

@ -1 +1 @@
__version__ = '2.6.4' __version__ = '2.6.7'

View File

@ -235,7 +235,7 @@ if os.path.exists('/sys/bus/platform/drivers/gpiomem-bcm2835'):
elif os.path.exists('/sys/bus/platform/drivers/gpio-x3'): elif os.path.exists('/sys/bus/platform/drivers/gpio-x3'):
implementation = SunriseX3() implementation = SunriseX3()
else: else:
implementation = JetsonNano() implementation = RaspberryPi()
for func in [x for x in dir(implementation) if not x.startswith('_')]: for func in [x for x in dir(implementation) if not x.startswith('_')]:
setattr(sys.modules[__name__], func, getattr(implementation, func)) setattr(sys.modules[__name__], func, getattr(implementation, func))

View File

@ -10,7 +10,7 @@ import flask
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server # https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
logging.getLogger('werkzeug').setLevel(logging.ERROR) logging.getLogger('werkzeug').setLevel(logging.ERROR)
os.environ['WERKZEUG_RUN_MAIN'] = 'true' os.environ['WERKZEUG_RUN_MAIN'] = 'false'
import pwnagotchi import pwnagotchi
import pwnagotchi.grid as grid import pwnagotchi.grid as grid

View File

@ -5,7 +5,7 @@ import os
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server # https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
logging.getLogger('werkzeug').setLevel(logging.ERROR) logging.getLogger('werkzeug').setLevel(logging.ERROR)
os.environ['WERKZEUG_RUN_MAIN'] = 'true' os.environ['WERKZEUG_RUN_MAIN'] = 'false'
from flask import Flask from flask import Flask
from flask_cors import CORS from flask_cors import CORS

View File

@ -27,8 +27,8 @@ dependencies = [
"spidev", "spidev",
"stable_baselines3", "stable_baselines3",
"toml", "toml",
"torch==2.0.1", "torch",
"torchvision==0.15.2", "torchvision",
"tweepy", "tweepy",
"websockets" "websockets"
] ]

View File

@ -1,7 +1,6 @@
OPi.GPIO; platform_release=="6.1.31-sun50iw9"
Pillow Pillow
PyYAML PyYAML
RPi.GPIO; platform_release!="6.1.31-sun50iw9" RPi.GPIO
file-read-backwards file-read-backwards
flask flask
flask-cors flask-cors
@ -13,13 +12,12 @@ pycryptodome
pydrive2 pydrive2
python-dateutil python-dateutil
requests requests
rpi_hardware_pwm; platform_release!="6.1.31-sun50iw9" rpi_hardware_pwm
scapy scapy
shimmy; platform_machine!="armv6l" shimmy
smbus2 smbus2
spidev spidev
stable_baselines3; platform_machine!="armv6l" stable_baselines3
stable_baselines3==1.8.0; platform_machine=="armv6l"
toml toml
torch torch
torchvision torchvision