Fix performace issues and more stuff changed

This commit is contained in:
Prayag committed 2022-04-17 12:28:53 +05:30
1 parent 261b6bf9b1
commit 6c56bde728
11 files changed
+4935 -2971

No files matched your search

+3 -3
View File
@@ -7,8 +7,8 @@ from PySide6.QtWebEngineWidgets import QWebEngineView
from PySide6.QtWebEngineCore import QWebEngineSettings
from PySide6.QtWebChannel import QWebChannel
import renderer
app = QApplication(sys.argv)
os.environ['QTWEBENGINE_REMOTE_DEBUGGING'] = "9000"
app = QApplication(["--disable-gpu-driver-bug-workarounds", "--enable-gpu-rasterization"])
# os.environ['QTWEBENGINE_REMOTE_DEBUGGING'] = "9000"
try:
from ctypes import windll
@@ -35,6 +35,7 @@ class Backend(QObject):
else:
return "serverGoTrue"
except:
return "serverOffline"
else:
return "serverGoFalse"
@@ -109,7 +110,6 @@ class LoginWin(QMainWindow):
self.inspector = QWebEngineView()
self.inspector.setWindowTitle("Inspector")
self.inspector.load(QUrl("http://127.0.0.1:9000"))
self.backend = Backend()
self.channel = QWebChannel()