tis-drawio icon

draw.io

Paquet d’installation silencieuse pour draw.io

28.2.8-5
Utilities
Utilities

  • package: tis-drawio
  • name: draw.io
  • version: 28.2.8-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: darwin
  • impacted_process: draw.io
  • architecture: arm
  • signature_date:
  • size: 149.00 Mo
  • installed_size: 435.18 Mo
  • homepage : http://www.draw.io

package           : tis-drawio
version           : 28.2.8-5
architecture      : arm
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         : darwin
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      : 5269aeb2-8c8b-4d0f-9e70-06cbccfaddb2
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/jgraph/drawio-desktop/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5f1b0f70feb594db5e5f58614b7920488465dc55d56fb35ea81e37b10502363c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-11-23T10:03:01.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         : xJDH4ezpV3uUoJq5gBfAPsAEyE8FZ2ufxhVuxA3wEKKbncJL1LdpwlOQ2IhmoRlI5SdwQmp7kicHcZbnYJIF0S1jJLDkSaFdt7CumsxeXtMp+A5r5idrzYu6bCi7u94VIkjrJcps3u7wYYvziCZFEdPBiwLWW6xMWHTkB+hYs5bdXOyEBC4R7O2PjDfhAFFAO/pf7SFjC6debtMgmAJnSRD224PZDtIzAWjw/cYW76hWzw8H0yDthckJYgcbYyVHKPB+PRJJYJf0z3Usg/DIPJb0a8vxaOv19uLg2M/5LAD0fq8STKOe3iTwuvNkmhQn6zExJZnyIc8ySWZFo9kYmQ==

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


def install():
    bin_name = glob.glob("draw.io*.dmg")[0]
    install_dmg(bin_name)


def uninstall():
    uninstall_app("draw.io")

# -*- 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/latest"
    
    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",
        "windows-arm": f"draw.io-arm64-{version}-windows-arm64-installer.exe",
        "debian_based-x64": f"drawio-amd64-{version}.deb",
        "debian_based-arm64": f"drawio-arm64-{version}.deb",
        "redhat_based-x64": f"drawio-x86_64-{version}.rpm",
        "darwin-x64": f"draw.io-x64-{version}.dmg",
        "darwin-arm": f"draw.io-arm64-{version}.dmg",
    }
    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}")

    # 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
f34540a2d3ef882e798e1e0a7aaea666f49e210ebc60d7fd9a922c5743041f15 : WAPT/control
5f1b0f70feb594db5e5f58614b7920488465dc55d56fb35ea81e37b10502363c : WAPT/icon.png
ef980d0325b4834d48965b465fc3678d1a6e95ab1efedf3b7fa445e2bc0d49a4 : draw.io-arm64-28.2.8.dmg
01d2653e780ee4741835859ae33898f392de529b533107f277c8b9d6f3bfcdcf : luti.json
c18bb7ddfe27f27ff6603f669080bd5bfd66113de48f12e06a7099571f23a8b1 : setup.py
20c5325b2e6224d97694b1e298a7c164ef29eec3cd8b2914e3614497a5915340 : update_package.py