update loadAllOnlinePlugins

This commit is contained in:
Blatzar 2022-08-25 13:49:24 +02:00
parent 241cc92e84
commit 67addd79a0

View file

@ -193,13 +193,7 @@ object PluginManager {
**/ **/
fun updateAllOnlinePluginsAndLoadThem(activity: Activity) { fun updateAllOnlinePluginsAndLoadThem(activity: Activity) {
// Load all plugins as fast as possible! // Load all plugins as fast as possible!
(getPluginsOnline()).toList().apmap { pluginData -> loadAllOnlinePlugins(activity)
loadPlugin(
activity,
File(pluginData.filePath),
pluginData
)
}
ioSafe { ioSafe {
afterPluginsLoadedEvent.invoke(true) afterPluginsLoadedEvent.invoke(true)