mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
remove workers
This commit is contained in:
parent
71865bc740
commit
f4c0992ee1
2 changed files with 18 additions and 18 deletions
|
@ -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
|
||||
|
||||
# Configure workers
|
||||
# su - $SUDO_USER -c 'cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done'
|
||||
# Remove unused workers
|
||||
su rm pandora/workers/msodde*
|
||||
su rm pandora/workers/odf*
|
||||
su rm pandora/workers/qrcode*
|
||||
|
||||
# Update Pandora
|
||||
su - $SUDO_USER -c 'cd pandora; ../.local/bin/poetry run update --yes'
|
||||
|
|
|
@ -686,12 +686,10 @@ def error():
|
|||
# Wait for mouse click or enter
|
||||
# -----------------------------------------------------------
|
||||
|
||||
|
||||
mouseEvent = threading.Event()
|
||||
enterEvent = threading.Event()
|
||||
mouseOrEnterCondition = threading.Condition()
|
||||
|
||||
|
||||
def mouseClickThread():
|
||||
mouse = open("/dev/input/mice", "rb")
|
||||
os.set_blocking(mouse.fileno(), False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue