tis-freeplane
1.7.10-3
Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home
26939 downloads

Description
- package : tis-freeplane
- version : 1.7.10-3
- architecture : all
- categories :
- maintainer : Simon Fonteneau
- description : Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home
- locale : all
- target_os : windows
- min_wapt_version :
- sources :
- installed_size : 91475968
- impacted_process : freeplane.exe
- description_fr : Freeplane est un logiciel open source qui vous permet d'organiser, visualiser et partager des informations rapidement.
- description_pl :
- description_de :
- description_es :
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor :
- licence :
- signature_date : 2020-02-27T21:32:58.293160
- Depends :
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing Freeplane')
versionpaquet = control['version'].split('-',1)[0]
install_exe_if_needed("Freeplane-Setup-%s.exe" % versionpaquet ,'/VERYSILENT','{D3941722-C4DD-4509-88C4-0E87F675A859}_is1',versionpaquet)
remove_desktop_shortcut('FreePlane')
def update_package():
proxies = {}
if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxies = {'http':proxywapt,'https':proxywapt}
import json
json_data = json.loads( wgets('https://sourceforge.net/projects/freeplane/best_release.json',proxies=proxies))['platform_releases']['windows']
filename = json_data['filename'].split('/')[-1]
url = json_data['url']
for exe in glob.glob('*.exe'):
if exe != filename:
remove_file(exe)
if not isfile(filename):
wget(url,filename,proxies=proxies)
control = PackageEntry().load_control_from_wapt ('.')
control.version = '%s-0' %(get_file_properties(filename)['ProductVersion'])
control.save_control_to_wapt('.')