- package: tis-dokiel
- name: Dokiel
- version: 6.0.6-1
- categories: education
- maintainer: Amel FRADJ
- licence: MPL 2.0 GPL 3.0 LGPL 3.0 CeCILL 2.1
- locale: fr
- target_os: darwin
- architecture: x64
- signature_date:
- size: 233.23 Mo
- homepage : https://doc.scenari.software/Dokiel/
package : tis-dokiel
version : 6.0.6-1
architecture : x64
section : base
priority : optional
name : Dokiel
categories : education
maintainer : Amel FRADJ
description : Dokiel is dedicated to technical communication and software documentation
depends :
conflicts :
maturity : PROD
locale : fr
target_os : darwin
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Dokiel est dédié au domaine de la communication technique et documentation logicielle
description_pl : Dokiel zajmuje się komunikacją techniczną i dokumentacją oprogramowania
description_de : Dokiel ist dem Bereich der technischen Kommunikation und Softwaredokumentation gewidmet
description_es : Dokiel se dedica a la comunicación técnica y la documentación de software
description_pt : A Dokiel dedica-se à comunicação técnica e à documentação de software
description_it : Dokiel si occupa di comunicazione tecnica e documentazione software
description_nl : Dokiel houdt zich bezig met technische communicatie en softwaredocumentatie
description_ru : Dokiel занимается технической коммуникацией и документированием программного обеспечения
audit_schedule :
editor :
keywords :
licence : MPL 2.0 GPL 3.0 LGPL 3.0 CeCILL 2.1
homepage : https://doc.scenari.software/Dokiel/
package_uuid : 3ec1be03-6b0b-4ec0-9afd-ba0572477f9b
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 4bd0533e447e7e42233e44fe44531538991148c0697d019986f7ed54e16e3277
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : tvYYvJcx821dbA781quneQbkO++FAKqCXIacWKH3nlXB3n0FPBYyVFfeL3QJDP5N2X2AtH7DtURIR+g6e0FdGl+oSmelO2MBEJPRsrUe6ME0HZNH4n0lrfGKkxB+ifZrO7Ow72X+NsGySWhIHBZJKRY9SXWALQf+giY1oq8G9RGvlVfhEBCujEXJnTmzXlvEYdv8ipLjGNRQ0XvTgDnTQw8hsi5h0PLQ+pDjE70811+rle+a4yuCkshXWVJj4CWDErJg3PLvbCibLncBei4MiUyQTrfBr+cYbMdrOYKkp0wu+BlJCiKuNkluNa0Cxf/jjsBCZ7qze9TboYbr8v8guA==
signature_date : 2024-07-22T16:04:55.520248
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
def install():
install_dmg(glob.glob("Dokiel*.dmg")[0])
def uninstall():
remove_tree("/Applications/Dokiel 6.app")
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
lang_dict = {'fr':'fr-FR',
'en':'en-US'}
lang = control.locale
url_base = "https://download.scenari.software/Dokiel/?productInfos"
response = requests.get(url_base, proxies=proxies, allow_redirects=True)
response.raise_for_status()
# Supposons que la réponse soit un JSON contenant les informations du produit
product_info = response.json()
# Trouve la version la plus récente dans la liste 'hist'
version = product_info.get('v', [])
# Compose l'URL dynamique avec la dernière version
url_latest_version = f"https://download.scenari.software/Dokiel@{version}/?productInfos"
response = requests.get(url_latest_version, proxies=proxies, allow_redirects=True)
response.raise_for_status()
# Supposons que la réponse soit un JSON contenant les informations des fichiers
product_files_info = response.json()
# Rechercher le fichier .dmg pour Windows correspondant à la langue de control.locale
exe_file = None
if 'ch' in product_files_info:
for file in product_files_info['ch']:
if isinstance(file, dict) and file['n'].endswith('.dmg') and file['metas']['os'] == 'mac' and file['metas']['lang'] == lang_dict[control.locale]:
exe_file = file['metas']['path']
break
url_download = f"https://download.scenari.software{exe_file}"
filename = exe_file.split('/')[-1]
if not isfile(filename):
package_updated = True
wget(url_download, filename, proxies=proxies)
print("Download:", filename)
for f in glob.glob("*.dmg"):
if f != filename:
remove_file(f)
#version = str(Version(get_version_from_binary(filename).split('-')[0],3))
control.set_software_version(version)
control.save_control_to_wapt()
8ca5a02204874bf309d9cb308f2a3ae18886eb55b5d7bc46e38903ca1eceeca8 : setup.py
415d23a93be561500e0a7795bda3c4f19b9d2ab2d0cf49887040d3f04fc628b8 : Dokiel6.0.6_fr-FR_202404091404_mac_x64.dmg
d502a377ba29416a4dc9cc2b450bdd5ca4c570b4e6035221bbd6253d5914efff : update_package.py
4bd0533e447e7e42233e44fe44531538991148c0697d019986f7ed54e16e3277 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
d5918d543289ca17a5227c964b141bfe99865294e1be4ec06a3735e78fdf3275 : luti.json
6fd45df8fd81e97d326d42779af032f61a814b6ede080e36cfe3cb55c84a367e : WAPT/control