mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 16:57:50 +00:00
wait a bit before loading plugins to avoid race conditions
This commit is contained in:
@@ -166,6 +166,7 @@ class PluginLoader extends Logger {
|
|||||||
this.initPluginBackendAPI();
|
this.initPluginBackendAPI();
|
||||||
|
|
||||||
Promise.all([this.getUserInfo(), this.updateVersion()])
|
Promise.all([this.getUserInfo(), this.updateVersion()])
|
||||||
|
.then(() => sleep(500))
|
||||||
.then(() => this.loadPlugins())
|
.then(() => this.loadPlugins())
|
||||||
.then(() => this.checkPluginUpdates())
|
.then(() => this.checkPluginUpdates())
|
||||||
.then(() => this.log('Initialized'));
|
.then(() => this.log('Initialized'));
|
||||||
|
|||||||
Reference in New Issue
Block a user