diff --git a/Furious/QtFramework/QtWidgets.py b/Furious/QtFramework/QtWidgets.py index ab39098..a40df9b 100644 --- a/Furious/QtFramework/QtWidgets.py +++ b/Furious/QtFramework/QtWidgets.py @@ -145,6 +145,10 @@ class AppQHeaderView(SupportExitCleanup, SupportConnectedCallback, QHeaderView): return try: + # https://bugreports.qt.io/browse/QTBUG-119862 + # Affected: PySide6 6.6.1+ + self.setDefaultSectionSize(self.defaultSectionSize()) + self.sectionSizeTable = UJSONEncoder.decode( AppSettings.get(self.sectionSizeSettingsName) ) diff --git a/Furious/Utility/Constants.py b/Furious/Utility/Constants.py index 801f7ee..46faf4a 100644 --- a/Furious/Utility/Constants.py +++ b/Furious/Utility/Constants.py @@ -63,6 +63,11 @@ PROXY_SERVER_BYPASS = ( '172.26.*;172.27.*;172.28.*;172.29.*;172.30.*;172.31.*;192.168.*' ) +if PLATFORM == 'Windows': + if PLATFORM_RELEASE != '7': + # https://github.com/2dust/v2rayN/issues/4334 + PROXY_SERVER_BYPASS += ';' + CORE_CHECK_ALIVE_INTERVAL = 2000 if PLATFORM == 'Windows': @@ -86,4 +91,3 @@ NETWORK_STATE_TEST_URL = 'http://cp.cloudflare.com' UNICODE_LARGE_RED_CIRCLE = u'\U0001F534' UNICODE_LARGE_GREEN_CIRCLE = u'\U0001F7E2' -UNICODE_LARGE_ORANGE_CIRCLE = u'\U0001F7E0' diff --git a/Furious/Widget/Application.py b/Furious/Widget/Application.py index 05f8c9d..79d559d 100644 --- a/Furious/Widget/Application.py +++ b/Furious/Widget/Application.py @@ -237,7 +237,7 @@ class Application(ApplicationFactory, SingletonApplication): @staticmethod def addEnviron(): # Xray environment variables - os.environ['XRAY_LOCATION_ASSET'] = str(DATA_DIR / 'xray') + os.environ['XRAY_LOCATION_ASSET'] = str(XRAY_ASSET_DIR) def isSystemTrayConnected(self): if isinstance(self.systemTray, SystemTrayIcon):