forked from recloudstream/cloudstream
update loadAllOnlinePlugins
This commit is contained in:
parent
241cc92e84
commit
67addd79a0
1 changed files with 1 additions and 7 deletions
|
@ -193,13 +193,7 @@ object PluginManager {
|
|||
**/
|
||||
fun updateAllOnlinePluginsAndLoadThem(activity: Activity) {
|
||||
// Load all plugins as fast as possible!
|
||||
(getPluginsOnline()).toList().apmap { pluginData ->
|
||||
loadPlugin(
|
||||
activity,
|
||||
File(pluginData.filePath),
|
||||
pluginData
|
||||
)
|
||||
}
|
||||
loadAllOnlinePlugins(activity)
|
||||
|
||||
ioSafe {
|
||||
afterPluginsLoadedEvent.invoke(true)
|
||||
|
|
Loading…
Reference in a new issue