mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Update to PySide6.
It sounds like PySide2 will not be moving to Python 3.11, so we're stuck on 3.10 without this. Upgrading to a newer Qt also fixes some high DPI bugs (the file browser dialog for save/load is no longer tiny on 4k). https://github.com/pyinstaller/pyinstaller/issues/5414 previously blocked this, but the bug appears to be fixed now.
This commit is contained in:
@@ -8,13 +8,13 @@ from . import (
|
||||
flights,
|
||||
frontlines,
|
||||
game,
|
||||
iadsnetwork,
|
||||
mapzones,
|
||||
navmesh,
|
||||
qt,
|
||||
supplyroutes,
|
||||
tgos,
|
||||
waypoints,
|
||||
iadsnetwork,
|
||||
)
|
||||
from .settings import ServerSettings
|
||||
|
||||
@@ -34,7 +34,7 @@ app.include_router(waypoints.router)
|
||||
app.include_router(iadsnetwork.router)
|
||||
|
||||
|
||||
origins = []
|
||||
origins = ["file://"]
|
||||
if ServerSettings.get().cors_allow_debug_server:
|
||||
origins.append("http://localhost:3000")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user