tis-drawio icon

draw.io

Paquet d’installation silencieuse pour draw.io

20.8.16-5
Utilities
Utilities

  • package: tis-drawio
  • name: draw.io
  • version: 20.8.16-5
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Simon Fonteneau,Pierre COSSON,Ingrid TALBOT,Jimmy PELÉ
  • editor: JGraph
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: draw.io
  • architecture: x64
  • signature_date:
  • size: 101.15 Mo
  • installed_size: 435.18 Mo
  • homepage : http://www.draw.io

package           : tis-drawio
version           : 20.8.16-5
architecture      : x64
section           : base
priority          : optional
name              : draw.io
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Simon Fonteneau,Pierre COSSON,Ingrid TALBOT,Jimmy PELÉ
description       : draw.io is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/jgraph/drawio-desktop/releases
installed_size    : 435183041
impacted_process  : draw.io
description_fr    : draw.io est un logiciel de diagramme en ligne gratuit permettant de créer des organigrammes, des diagrammes de processus, des diagrammes UML, ER et des diagrammes de réseau
description_pl    : draw.io to darmowe oprogramowanie do tworzenia schematów blokowych, diagramów procesów, schematów organizacyjnych, UML, ER i diagramów sieciowych
description_de    : draw.io ist eine kostenlose Online-Diagrammsoftware zur Erstellung von Flussdiagrammen, Prozessdiagrammen, Organigrammen, UML, ER und Netzwerkdiagrammen
description_es    : draw.io es un software de diagramas en línea gratuito para crear diagramas de flujo, diagramas de procesos, organigramas, diagramas UML, ER y de red
description_pt    : draw.io é um software de diagramas online gratuito para criar fluxogramas, diagramas de processos, organogramas, UML, ER e diagramas de rede
description_it    : draw.io è un software gratuito per la creazione di diagrammi di flusso, diagrammi di processo, organigrammi, diagrammi UML, ER e di rete
description_nl    : draw.io is gratis online diagrammensoftware voor het maken van stroomdiagrammen, procesdiagrammen, organogrammen, UML-, ER- en netwerkdiagrammen
description_ru    : draw.io - это бесплатное программное обеспечение для создания блок-схем, диаграмм процессов, оргсхем, UML, ER и сетевых диаграмм
audit_schedule    : 
editor            : JGraph
keywords          : 
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_public
homepage          : http://www.draw.io
package_uuid      : 608d5cbd-5b07-4fd2-b75c-daa30167969b
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/jgraph/drawio-desktop/releases
min_os_version    : 6.1
max_os_version    : 6.2
icon_sha256sum    : 5f1b0f70feb594db5e5f58614b7920488465dc55d56fb35ea81e37b10502363c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-11-23T10:13:17.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         : e7CUcMOVtQFpve98325qmBlUK1ZO+glzAixAhePQ8e2uDOoOg8YM25DGm1qvgipOg5xQ2tmzvd1y2+kR1yU78CHBHOlRDvUC6ARSl/O4/0f1jB7r2rAmUBIZ+DwqEFLIl+HZ7Kvnfiwm5pL6jiwf8Au5Pxr/wGp0jErUUhj6nEufLkY5yRlMyNkO71LgF+/OEN5xr/9ueRZunrrDXnUKMRVtacGSCfpA/y54TBdI9T35DSCt9t1+4S+M8snlogZI5bQ5Z1AtqZVCRv6uqy1I2oHHy9uZiI0wKPuAtIAobLC8vkfqvfe0s8Ptk4V3MY9vHyF+kjT3F82yQM9BQpVbCA==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("draw.io*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="27a75bf3-be48-5c35-934f-8491cf108abe",
        min_version=control.get_software_version(),
    )

    # Removing desktop shortcut if allowed
    if params.get("remove_desktop_shortcut"):
        remove_desktop_shortcut("draw.io")

    # Disable auto update
    set_environ_variable("DRAWIO_DISABLE_UPDATE", "true")

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import waptlicences


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    
    api_url = "https://api.github.com/repos/jgraph/drawio-desktop/releases/tags/v20.8.16"
    
    print(f"API used is: {api_url}")
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "").replace(".windows", "")

    download_dict = {
        "windows-x64": f"draw.io-{version}-windows-installer.exe",
        "windows-x86": f"draw.io-ia32-{version}-windows-32bit-installer.exe",
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    for asset in json_load["assets"]:
        if asset["name"] == download_dict[os_type]:
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    expected_issuer = 'JGraph Ltd'
    sign_name = waptlicences.check_msi_signature(latest_bin)[0]
    if sign_name != expected_issuer:
        error('Bad issuer %s != %s ' % (sign_name,expected_issuer))

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
21911d217580d2693af0d00051aa6c0023f7995aa243c36d79e699b416cc38db : WAPT/control
5f1b0f70feb594db5e5f58614b7920488465dc55d56fb35ea81e37b10502363c : WAPT/icon.png
95cdd1cece6d26e62b0be726d7a6f19a5733c830c166f09866dcafe6a821ec9a : draw.io-20.8.16-windows-installer.exe
d17e894709fbc85e86ae258490765ec54ef972f3d117d1f4fd715820b603c4c5 : luti.json
59772102a20f153ba5516dad27e4cb77b8f40cca88dcd79d6d5cd0f1503e6a78 : setup.py
25cffc48d5115a164922e8d2595e300d1ad81ff99348b93ff6ad3265c2aea626 : update_package.py