1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

Check if x11vnc is installed

This commit is contained in:
Bumsik Kim 2018-05-31 01:50:06 -04:00
parent a106d380a2
commit b2a54b7b87
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6

View file

@ -713,6 +713,10 @@ def main():
QMessageBox.critical(None, "VirtScreen",
"Cannot create ~/.config/virtscreen")
sys.exit(1)
if not shutil.which('x11vnc'):
QMessageBox.critical(None, "VirtScreen",
"x11vnc is not installed.")
sys.exit(1)
# Replace Twisted reactor with qt5reactor
import qt5reactor # pylint: disable=E0401