mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-29 10:56:06 +00:00
Made the app use qt on linux as it's more stable
This commit is contained in:
parent
58212b576f
commit
041f285872
|
@ -93,14 +93,7 @@ if __name__ == '__main__':
|
||||||
})
|
})
|
||||||
webview.start(gui='cef')
|
webview.start(gui='cef')
|
||||||
elif sys.platform == "linux":
|
elif sys.platform == "linux":
|
||||||
try:
|
webview.start(gui='qt')
|
||||||
from gi import require_version as rv
|
|
||||||
rv('WebKit2', '4.0')
|
|
||||||
print("Starting with GTK")
|
|
||||||
webview.start()
|
|
||||||
except (ValueError, ImportError):
|
|
||||||
print("Starting with QT")
|
|
||||||
webview.start(gui='qt')
|
|
||||||
else:
|
else:
|
||||||
webview.start()
|
webview.start()
|
||||||
conn = HTTPConnection(url, port)
|
conn = HTTPConnection(url, port)
|
||||||
|
|
|
@ -3,3 +3,4 @@ flask
|
||||||
flask-socketio
|
flask-socketio
|
||||||
pywebview>=3.3.2
|
pywebview>=3.3.2
|
||||||
cefpython3; platform_system == "Windows"
|
cefpython3; platform_system == "Windows"
|
||||||
|
pywebview[qt]>=3.3.2; platform_system == "Linux"
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
-r requirements.txt
|
|
||||||
PyGObject
|
|
|
@ -1,4 +0,0 @@
|
||||||
-r requirements.txt
|
|
||||||
PyQt5
|
|
||||||
PyQtWebEngine
|
|
||||||
pywebview[qt]>=3.3.2
|
|
2
webui
2
webui
|
@ -1 +1 @@
|
||||||
Subproject commit e1a3e8b5625a2f3288dc52ebd545b41e31f6e43c
|
Subproject commit bf532ba62ec961c16995e46e2bb1aab32a740353
|
Loading…
Reference in a new issue