diff --git a/controldeck_gui.py b/controldeck_gui.py index b49249b..5793e2e 100644 --- a/controldeck_gui.py +++ b/controldeck_gui.py @@ -4,7 +4,7 @@ from webview import create_window, start import controldeck def main(): - if controldeck.process("ps -ef | grep -i controldeck.py | grep -v grep") == "": + if controldeck.process("ps -ef | grep -i controldeck | grep -v controldeck-gui | grep -v grep") == "": controldeck.main() config = controldeck.config_load()