1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

remove workers

This commit is contained in:
Didier 2024-01-02 12:13:27 +01:00
parent 71865bc740
commit f4c0992ee1
2 changed files with 18 additions and 18 deletions

View file

@ -138,8 +138,10 @@ dpkg --ignore-depends=libssl0.9.8 -i cav-linux_x64.deb
wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/COMODO/scanners/bases.cav wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/COMODO/scanners/bases.cav
# Configure workers # Remove unused workers
# su - $SUDO_USER -c 'cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done' su rm pandora/workers/msodde*
su rm pandora/workers/odf*
su rm pandora/workers/qrcode*
# Update Pandora # Update Pandora
su - $SUDO_USER -c 'cd pandora; ../.local/bin/poetry run update --yes' su - $SUDO_USER -c 'cd pandora; ../.local/bin/poetry run update --yes'

View file

@ -686,12 +686,10 @@ def error():
# Wait for mouse click or enter # Wait for mouse click or enter
# ----------------------------------------------------------- # -----------------------------------------------------------
mouseEvent = threading.Event() mouseEvent = threading.Event()
enterEvent = threading.Event() enterEvent = threading.Event()
mouseOrEnterCondition = threading.Condition() mouseOrEnterCondition = threading.Condition()
def mouseClickThread(): def mouseClickThread():
mouse = open("/dev/input/mice", "rb") mouse = open("/dev/input/mice", "rb")
os.set_blocking(mouse.fileno(), False) os.set_blocking(mouse.fileno(), False)