Compare commits

...

3 Commits

Author SHA1 Message Date
6a3b54c127 Pour macOS 2025-01-27 17:10:32 +01:00
196f63a7f1 Pour macOS 2025-01-27 17:08:21 +01:00
49fa33434f Ajouter plugins.xml 2025-01-27 16:30:19 +01:00
8 changed files with 24 additions and 5 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

19
plugins.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<plugins>
<pyqgis_plugin name="pluginsCenSavoie_v3" version="1.0.0">
<description><![CDATA[Dépôt pour les extensiont QGIS du CEN Rhone-Alpes, sur GitHub.]]></description>
<version>1.0.0</version>
<qgis_minimum_version>3.16</qgis_minimum_version>
<homepage>https://plateformesig.cenra-outils.org/</homepage>
<file_name>pluginsCenSavoie_v3.zip</file_name>
<icon>CEN-Rhone-Alpes.png</icon>
<author_name>CEN-Rhone-Alpes</author_name>
<download_url>https://gitea.cenra-outils.org/LaurentP/PLUGINS_QGIS/releases/download/latest/pluginsCenSavoie_v3.zip</download_url>
<uploaded_by>CEN-Rhone-Alpes</uploaded_by>
<create_date>2025-01-23</create_date>
<update_date>2025-01-23</update_date>
<experimental>False</experimental>
<deprecated>False</deprecated>
<tags>cen73,postgis</tags>
</pyqgis_plugin>
</plugins>

BIN
pluginsCenSavoie_v3/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -60,7 +60,7 @@ class pluginsCenSavoie_v3:
def initGui(self):
if sys.platform == 'linux':
if sys.platform in ('linux','darwin'):
os_user = os.environ['USER']
else:
os_user = os.environ['USERNAME']

View File

@ -69,7 +69,7 @@ class BackinMFU:
global mdp_1st_cnx
mdp_1st_cnx = bd_cen_mdp_1st_cnx
global os_user
if sys.platform == 'linux':
if sys.platform in ('linux','darwin'):
os_user = os.environ['USER']
else:
os_user = os.environ['USERNAME']

View File

@ -66,7 +66,7 @@ class CreateSessionAF:
global mdp_1st_cnx
mdp_1st_cnx = bd_cen_mdp_1st_cnx
global os_user
if sys.platform == 'linux':
if sys.platform in ('linux','darwin'):
os_user = os.environ['USER']
else:
os_user = os.environ['USERNAME']

View File

@ -65,7 +65,7 @@ class ParcelleToActe:
global mdp_1st_cnx
mdp_1st_cnx = bd_cen_mdp_1st_cnx
global os_user
if sys.platform == 'linux':
if sys.platform in ('linux','darwin'):
os_user = os.environ['USER']
else:
os_user = os.environ['USERNAME']

View File

@ -65,7 +65,7 @@ class ParcelleToSite:
global mdp_1st_cnx
mdp_1st_cnx = bd_cen_mdp_1st_cnx
global os_user
if sys.platform == 'linux':
if sys.platform in ('linux','darwin'):
os_user = os.environ['USER']
else:
os_user = os.environ['USERNAME']