This commit is contained in:
2025-07-28 16:23:25 +02:00
parent 94cac31fbb
commit 1cd816c706
7 changed files with 225 additions and 455 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
from qgis.core import QgsApplication
def gitea():
file_url = QgsApplication.qgisSettingsDirPath()+'QGIS/QGIS3.ini'
file_url = QgsApplication.qgisSettingsDirPath() + 'QGIS/QGIS3.ini'
recherche_1 = 'plugin_repositories\\github\\url=https://github.com/CEN-Rhone-Alpes/Plugin_QGIS/releases/latest/download/plugins.xml'
replace_1 = 'plugin_repositories\\gitea\\url=https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml'
@@ -18,4 +19,4 @@ def gitea():
# Write the file out again
with open(file_url, 'w') as file:
file.write(filedata)
file.write(filedata)