tis-freeplane

1.8.6-1
Freeplane is a free, open source software application for creating mind maps (diagrams of connections between ideas), and electronic outlines.
4411 downloads
Download

  Description 

  • package : tis-freeplane
  • version : 1.8.6-1
  • architecture : all
  • categories : Utilities
  • maintainer : WAPT Team,Jimmy PELÉ,Simon Fonteneau
  • description : Freeplane is a free, open source software application for creating mind maps (diagrams of connections between ideas), and electronic outlines.
  • locale : all
  • target_os : windows
  • min_os_version :
  • max_os_version :
  • min_wapt_version : 1.5
  • sources : https://sourceforge.net/projects/freeplane/
  • installed_size : 45473792
  • impacted_process : freeplane.exe
  • description_fr : Freeplane est un logiciel libre qui permet de créer des cartes heuristiques (ou Mind Map), diagrammes représentant les connexions sémantiques entre différentes idées.
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Dimitry Polivaev, et al.
  • licence : GPLv2+
  • signature_date : 2020-07-01T11:20:44.210000
  • Homepage : https://www.freeplane.org/wiki/index.php
  • Depends :

  Setup.py 

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

uninstallkey = []

# Declaring specific app values (TO CHANGE)
bin_name_string = 'Freeplane-Setup-%s.exe'
silent_args = '/VERYSILENT /NORESTART'
app_uninstallkey = '{D3941722-C4DD-4509-88C4-0E87F675A859}_is1'


def install():
    # Specific app values
    package_version = control.version.split('-',1)[0]

    # Getting the used storage on programfiles before installation (place it on the top)
    get_disk_free_space_before = get_disk_free_space(programfiles)

    # Installing the package
    install_exe_if_needed(bin_name_string % package_version
        ,silentflags=silent_args
        ,key=app_uninstallkey
        ,min_version=package_version)

    uninstallkey.remove(app_uninstallkey)

	# Return used storage of the program. (place it on the bottom)
    get_disk_free_space_after = get_disk_free_space(programfiles)
    free_space_after_diff = get_disk_free_space_before - get_disk_free_space_after
    print("Storage used: " + str(free_space_after_diff))


def uninstall():
    uninstall_path = makepath(programfiles,'Freeplane','unins000.exe')
    run('"%s" %s' % (uninstall_path,silent_args))


def update_package():
    print('Download/Update package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    # Specific app values
    app_name = control.name
    url = 'https://sourceforge.net/projects/freeplane/best_release.json'

    import json
    json_data = json.loads(wgets(url,proxies=proxy))['platform_releases']['windows']
    latest_bin = json_data['filename'].split('/')[-1]
    version = (latest_bin.split('-')[-1]).replace('.exe','')

    url_dl = json_data['url']
    print(url_dl)

    print('Latest ' + app_name + ' version is: ' + version)
    print('Download url is: ' + url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print('Downloading: ' + latest_bin)
        wget(url_dl,latest_bin,proxies=proxy)

		# Change version of the package
        from waptpackage import PackageEntry
        print('Writing ' + version + '-0 in WAPT\\control')
        pe = PackageEntry()
        pe.load_control_from_wapt(os.getcwd())

        pe.version = version + '-0'
        pe.save_control_to_wapt(os.getcwd())
        print('Update package done. You can now build-upload your package')
    else:
        print('This package is already up-to-date')

    # Deleting outdated binaries
    for bin_in_dir in glob.glob('*.exe') or glob.glob('*.msi'):
        if bin_in_dir != latest_bin :
            print('Outdated binary: ' + bin_in_dir + ' Deleted')
            remove_file(bin_in_dir)


										

  Changelog 


https://www.freeplane.org/info/history/history_en.txt
  manifest.sha256 
[["WAPT/icon.png","1af5536eb6c7f87ecd4ff2552cc6dad8fa78633c3d4bfa9fb7b6dd8f18d6a2af"],["Freeplane-Setup-1.8.6.exe","c3a7665a78ed7c39fd1c0b70f6c8bc4bdb059abaa16fbaabad0e19315896e25e"],["WAPT/wapt.psproj","252b70e9f3a4939df417f84432ee839ac8069089be2041c45a7348db28fc2ea0"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","7c12c0c9515caa32efc84f874315d17f52733e1cba9ebb16dd8bbd9bf83b34b8"],["setup.py","2367b60cafa9760f18de7fcf454b5467e213c8483f49d7a416ffe7eb6e475d23"],["Jenkinsfile","023e2bdc94cd8e66d6dac9da416de955471e24dc1a41be416d0ee5979dbec5f2"],["README.md","9909d12dbfdd94ebd513e2d277713b7b009562d1ee4f1b8b79ba5ea14a60ae76"],["WAPT/changelog.txt","be123fb43a01614c3728130419d3707da43959998f37d0ca27186290dc65bf9d"]]