mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
fix(desktop): back off failed app loads and offer a retry (#2980)
This commit is contained in:
1 parent
6a6119ed1e
commit
677ef8491e
41 files changed
+3012
-2367
No files matched your search
@@ -302,6 +302,11 @@ if (launchConfigurationError) {
|
||||
.then(() => app.whenReady())
|
||||
.then(async () => {
|
||||
log.info('App ready, initializing...');
|
||||
try {
|
||||
runStartupPhase('host-resolver', () => app.configureHostResolver({enableAdditionalDnsQueryTypes: false}));
|
||||
} catch (error) {
|
||||
log.error('[Init] Failed to configure the host resolver:', error);
|
||||
}
|
||||
await runStartupPhaseAsync('launch-net-log', startLaunchNetLog);
|
||||
try {
|
||||
await runStartupPhaseAsync('desktop-debug-info', async () => {
|
||||
|
||||
Reference in new issue
Block a user