tis-dokiel icon

Dokiel

Silent install package for Dokiel

25.0.6-1
Education
Education

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-dokiel
  • name: Dokiel
  • version: 25.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: all
  • signature_date:
  • size: 263.10 Mo
  • homepage : https://doc.scenari.software/Dokiel/

package           : tis-dokiel
version           : 25.0.6-1
architecture      : all
section           : base
priority          : optional
name              : Dokiel
categories        : education
maintainer        : Amel FRADJ
description       : Dokiel is dedicated to technical communication and software documentation
depends           : 
conflicts         : 
maturity          : PREPROD
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      : 77a2802a-bf60-4785-b021-f79d8e33b611
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 4bd0533e447e7e42233e44fe44531538991148c0697d019986f7ed54e16e3277
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-30T11:35:46.000000
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
signature         : MyIhLEkHUfnDIxqY0sxw3wnQnktlG/+S9yMDgodp1hFqkt64ehdrc0H2yGNHWwyp1TB1pL5jnm9Xz90b0Em+7KbOqUqnJ0tAJjqV1l60kN92fMfIIKPfnyd3runaxtLGC2RC9W7NT53VYjDo0D0h698aIxEnMaUV6fzJKzl1/m9t2dxAfBgpoKKaz6QACw3cx22+AFPq+j7+68eHgY66Pdz4ivlgJiicKdcfdPKpXgf3q//Swb010C7Ql9+DHtOExCZ/Yboj5p+24dpCqM5lKXXxtmhH9HGSg+bl1wBzC3oqo7JPbP+c1VyxXLLVBY3En4Kf5pM5Uflabxrm5qyNlQ==

# -*- 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():

    # Uninstalling older version of the software that can remains
    for to_uninstall in installed_softwares(name="Dokiel"):
      if Version(to_uninstall["version"]) < Version(control.get_software_version()):
        print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
        remove_tree(to_uninstall['key'])
    
    install_dmg(glob.glob("Dokiel*.dmg",)[0],
                    key='/Applications/Dokiel 25.app',
                    min_version=control.get_software_version(),
                    get_version=get_version
    )


def get_version(key):
    return key['version'].split('-')[0]

# -*- 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()

e84631662465775b6b916c7df9011b9838dab43d921d3a65759d2d49f2b2ab00 : Dokiel25.0.6_fr-FR_202601301100_mac_x64.dmg
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
59811aa01a0f1f546384f5795709a59ae40050e2f923013bc77e12b7bb6922c8 : WAPT/control
4bd0533e447e7e42233e44fe44531538991148c0697d019986f7ed54e16e3277 : WAPT/icon.png
a68ed182e6d1457ad8aa87c8e5a7bb318fa215991a6a491d1254bd0ef42a954a : luti.json
aa1db0a006c8190004dce795adfedd1c63b75a615d45151edfbf3ca1cf4ee403 : setup.py
d502a377ba29416a4dc9cc2b450bdd5ca4c570b4e6035221bbd6253d5914efff : update_package.py