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:
parent
a106d380a2
commit
b2a54b7b87
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue