diff --git a/CenRa_AUTOMAP/tools/resources.py b/CenRa_AUTOMAP/tools/resources.py index 43263241..208cc6d8 100644 --- a/CenRa_AUTOMAP/tools/resources.py +++ b/CenRa_AUTOMAP/tools/resources.py @@ -154,7 +154,7 @@ def maj_verif(NAME): url = qgis.utils.pluginMetadata(NAME,'repository') #URL = url+'/raw/branch/main/plugins.xml' - URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/releases/plugins.xml' + URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml' # print(URL) version = qgis.utils.pluginMetadata(NAME,'version') len_version = len(version) diff --git a/CenRa_COPIE/tools/resources.py b/CenRa_COPIE/tools/resources.py index b7b9a900..ded5a0af 100644 --- a/CenRa_COPIE/tools/resources.py +++ b/CenRa_COPIE/tools/resources.py @@ -90,7 +90,7 @@ def resources_path(*args): :return: Absolute path to the resources folder. :rtype: str """ - path = abspath(abspath(join(plugin_path(), "CenRa_Copie\\tools"))) + path = abspath(abspath(join(plugin_path(), "CenRa_COPIE\\tools"))) for item in args: path = abspath(join(path, item)) return path @@ -110,7 +110,7 @@ def load_ui(*args): def pyperclip(): IPAddr=socket.gethostbyname(socket.gethostname()) - dst = abspath(abspath(join(plugin_path(), "CenRa_Copie\\tools\\"))) + dst = abspath(abspath(join(plugin_path(), "CenRa_COPIE\\tools\\"))) if IPAddr[0:11] == "100.100.100": #4269 src = '\\\\100.100.100.100\\nuage\\SI_Systeme d information\\Z_QGIS\\PLUGIN\\PythonSQL.py' if IPAddr[0:9] == "192.168.0": #01 @@ -154,7 +154,7 @@ def maj_verif(NAME): url = qgis.utils.pluginMetadata(NAME,'repository') #URL = url+'/raw/branch/main/plugins.xml' - URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/releases/plugins.xml' + URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml' # print(URL) version = qgis.utils.pluginMetadata(NAME,'version') len_version = len(version) diff --git a/CenRa_FLUX/tools/resources.py b/CenRa_FLUX/tools/resources.py index 5776a6ea..bf3342f0 100644 --- a/CenRa_FLUX/tools/resources.py +++ b/CenRa_FLUX/tools/resources.py @@ -149,7 +149,7 @@ def maj_verif(NAME): url = qgis.utils.pluginMetadata(NAME,'repository') #URL = url+'/raw/branch/main/plugins.xml' - URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/releases/plugins.xml' + URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml' # print(URL) version = qgis.utils.pluginMetadata(NAME,'version') len_version = len(version) diff --git a/CenRa_PAGERENDER/tools/resources.py b/CenRa_PAGERENDER/tools/resources.py index a12378eb..16c1478a 100644 --- a/CenRa_PAGERENDER/tools/resources.py +++ b/CenRa_PAGERENDER/tools/resources.py @@ -139,7 +139,7 @@ def maj_verif(NAME): url = qgis.utils.pluginMetadata(NAME,'repository') #URL = url+'/raw/branch/main/plugins.xml' - URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/releases/plugins.xml' + URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml' # print(URL) version = qgis.utils.pluginMetadata(NAME,'version') len_version = len(version) diff --git a/CenRa_POSTGIS/tools/resources.py b/CenRa_POSTGIS/tools/resources.py index 182546aa..9d92515e 100644 --- a/CenRa_POSTGIS/tools/resources.py +++ b/CenRa_POSTGIS/tools/resources.py @@ -155,7 +155,7 @@ def maj_verif(NAME): url = qgis.utils.pluginMetadata(NAME,'repository') #URL = url+'/raw/branch/main/plugins.xml' - URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/releases/plugins.xml' + URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml' # print(URL) version = qgis.utils.pluginMetadata(NAME,'version') len_version = len(version) diff --git a/CenRa_SICEN/tools/resources.py b/CenRa_SICEN/tools/resources.py index ae2fb8c9..be878189 100644 --- a/CenRa_SICEN/tools/resources.py +++ b/CenRa_SICEN/tools/resources.py @@ -154,7 +154,7 @@ def maj_verif(NAME): url = qgis.utils.pluginMetadata(NAME,'repository') #URL = url+'/raw/branch/main/plugins.xml' - URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/releases/plugins.xml' + URL = 'https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml' # print(URL) version = qgis.utils.pluginMetadata(NAME,'version') len_version = len(version)