tis-drawio

21.8.2-1
Draw.io is free diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams.
51697 downloads
Download
See build result See VirusTotal scan
tis-drawio icon
  • package : tis-drawio
  • name : Draw.IO
  • version : 21.8.2-1
  • categories : Utilities
  • maintainer : WAPT Team,Tranquil IT,Simon Fonteneau,Pierre COSSON
  • editor : JGraph
  • licence : Apache-2.0 license
  • locale : all
  • target_os : windows
  • impacted_process : draw.io.exe
  • architecture : x86
  • signature_date : 2023-10-01 19:03
  • size : 99.12 Mo
  • homepage : http://www.draw.io
package           : tis-drawio
version           : 21.8.2-1
architecture      : x86
section           : base
priority          : optional
name              : Draw.IO
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Simon Fonteneau,Pierre COSSON
description       : Draw.io is free 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.0
sources           : https://api.github.com/repos/jgraph/drawio-desktop/
installed_size    : 
impacted_process  : draw.io.exe
description_fr    : Draw.io est un logiciel gratuit de création de diagrammes pour la création d’organigrammes, de diagrammes de processus, d’organigrammes, de diagrammes UML, ER et de réseaux.
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : JGraph
keywords          : 
licence           : Apache-2.0 license
homepage          : http://www.draw.io
package_uuid      : a422e77c-c626-4b46-a1ab-09168379da48
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/jgraph/drawio/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5f1b0f70feb594db5e5f58614b7920488465dc55d56fb35ea81e37b10502363c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : IcyXgylNR+y3nKkrRQJVwePU5ws7CbVA9KyOAeABJkdJmJJRR3b191y7eRMm32BXzSRIzaALHuTZsO6Jp4/g0eooACGWzsc2gaOBbyDBe9zO9N39hFjrWuM7YLOZku7+UkQSrFt8MWbJ7UtNxN1kiNsX2zG5Weeq+do33Aplrk/zRhq6No7hDj3+m9ZEOTf5bBenUawbmyXukvprpNLzhq9OYnSQNZJBaG7myJX6WN5HHBbaNTs14fTdr0xUxIR7uyMgLm3zHMe+l1BmgNo/o4Yr6VgLmEGYkyf0pxogdZW2N0vjuCsTHbvzZ2cOCv7iPcH0rJ2c4dBA+I543QgMKA==
signature_date    : 2023-10-01T19:03:20.197959
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 -*-
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(),
    )

    remove_desktop_shortcut("draw.io")
# -*- coding: utf-8 -*-
from setuphelpers import *
import json


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"
    if control.architecture == "x64":
        arch_contains = "-installer.exe"
    else:
        arch_contains = "-32bit-installer.exe"
    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if arch_contains in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            latest_bin = download["name"]
            break
    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)
    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary")
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")
    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()
    # Deleting outdated binaries
    remove_outdated_binaries(version)
    # Validating update-package-sources
    return package_updated
fbe8f90daf376dd7886b33d384742de8f7fc7b5c03fba576d0a1ba09fa848afa : draw.io-ia32-21.8.2-windows-32bit-installer.exe
d01418445b2be6cb0ab24fa91943083dbb5db4e799a3781a4471631fd8d64857 : setup.py
 : __pycache__
829c5a063c4a5eaf6181e4cd6ad8456c6a9385430307365b666adb4987243df8 : update_package.py
5f1b0f70feb594db5e5f58614b7920488465dc55d56fb35ea81e37b10502363c : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4a25f04a2f4c30901e1e4f6400592fc1c432fa72a54b4e86a3d4558283de8349 : luti.json
795a23aec9d20277e71a5ec05f133e1f4c192b375a8bf9b17ebb800e85b610bc : WAPT/control