tis-drawio

14.5.1-2
Draw.io is free diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams.
7723 downloads
Download

  Description 

  • package : tis-drawio
  • version : 14.5.1-2
  • architecture : x64
  • categories :
  • maintainer : Simon Fonteneau
  • description : Draw.io is free diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams.
  • locale : all
  • target_os : darwin
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process : draw.io
  • 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 :
  • editor : JGraph
  • licence : Apache-2.0 license
  • signature_date : 2021-03-29T12:41:27.204390
  • Homepage : http://www.draw.io

  Setup.py 

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

uninstallkey = []

def install():

    package_version = control['version'].split('-')[0]
    install_dmg('draw.io-%s.dmg' % package_version)

def uninstall():
    shutil.rmtree('/Applications/draw.io.app')

def update_package():
    import json

    proxies = {}
    if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

    binaryfile,urlfile  = [(str(p['name']),str(p['browser_download_url'])) for p in json.loads(wgets('https://api.github.com/repos/jgraph/drawio-desktop/releases/latest',proxies=proxies))['assets'] if '.dmg' in p['name']][0]

    if not isfile(binaryfile):
        wget(urlfile,binaryfile,proxies=proxies)

    for f in glob.glob('*.dmg'):
        if f != binaryfile:
            remove_file(f)

    lastversion = binaryfile.split('-')[1].strip('.dmg')
    print('Last Version %s' % lastversion)

    control.version = lastversion + '-1'
    control.save_control_to_wapt()


										

  Changelog 



No changelog.txt.
									
  manifest.sha256