diff --git a/scrcpy_ui/main.py b/scrcpy_ui/main.py index 7a205b7..adc49f6 100644 --- a/scrcpy_ui/main.py +++ b/scrcpy_ui/main.py @@ -4,11 +4,10 @@ from adbutils import adb from PySide6.QtGui import QImage, QKeyEvent, QMouseEvent, QPixmap, Qt from PySide6.QtWidgets import QApplication, QMainWindow, QMessageBox +from ui_main import Ui_MainWindow import scrcpy -from ui_main import Ui_MainWindow - if not QApplication.instance(): app = QApplication([]) else: