Refresh global proxy after settings being read.
Fixes #16600, fixes #17249.
This commit is contained in:
parent
a0110fed27
commit
6925bf6a8e
|
@ -208,7 +208,6 @@ void Application::run() {
|
|||
style::internal::StartFonts();
|
||||
|
||||
ThirdParty::start();
|
||||
refreshGlobalProxy(); // Depends on Core::IsAppLaunched().
|
||||
|
||||
// Depends on OpenSSL on macOS, so on ThirdParty::start().
|
||||
// Depends on notifications settings.
|
||||
|
@ -217,6 +216,8 @@ void Application::run() {
|
|||
startLocalStorage();
|
||||
ValidateScale();
|
||||
|
||||
refreshGlobalProxy(); // Depends on app settings being read.
|
||||
|
||||
if (Local::oldSettingsVersion() < AppVersion) {
|
||||
RegisterUrlScheme();
|
||||
psNewVersion();
|
||||
|
|
Loading…
Reference in New Issue