From 0c06db576eb2aa3c165a632199d3c950daecd933 Mon Sep 17 00:00:00 2001 From: Neocky Date: Sat, 13 Mar 2021 23:32:52 +0100 Subject: [PATCH] Plugins are now searched after their downloads --- src/plugin/plugin_updatechecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/plugin_updatechecker.py b/src/plugin/plugin_updatechecker.py index 89a7de3..14d5c1c 100644 --- a/src/plugin/plugin_updatechecker.py +++ b/src/plugin/plugin_updatechecker.py @@ -204,7 +204,7 @@ def updateInstalledPackage(inputSelectedObject='all'): def getInstalledPlugin(localFileName, localFileVersion): - url = "https://api.spiget.org/v2/search/resources/" + localFileName + "?field=name" + url = "https://api.spiget.org/v2/search/resources/" + localFileName + "?field=name&sort=-downloads" packageName = doAPIRequest(url) i = 1 plugin_match_found = False