- package: tis-xmind
- name: XMind
- version: 11.1.2-15
- categories: Office,Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: XMind Ltd
- licence: Proprietary
- locale: all
- target_os: windows
- impacted_process: XMind
- architecture: x64
- signature_date:
- size: 92.38 Mo
- installed_size: 307.74 Mo
- homepage : https://www.xmind.net/
package : tis-xmind
version : 11.1.2-15
architecture : x64
section : base
priority : optional
name : XMind
categories : Office,Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : XMind is a full-featured mind mapping and brainstorming tool, designed to generate ideas, inspire creativity, brings efficiency both in work and life
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://www.xmind.net/download/
installed_size : 307740672
impacted_process : XMind
description_fr : XMind est un outil complet de cartographie mentale et de brainstorming, conçu pour générer des idées, inspirer la créativité et apporter de l'efficacité au travail et dans la vie
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : XMind Ltd
keywords :
licence : Proprietary
homepage : https://www.xmind.net/
package_uuid : 00fa1f11-7e4d-4342-9037-fc809983b389
valid_from :
valid_until :
forced_install_on :
changelog : https://www.xmind.net/desktop/release-notes/
min_os_version : 6.1
max_os_version :
icon_sha256sum : ce0ea44f70e6152e5b28443932f84c4a74c4daeca3ef96b511d797fc975d986d
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : WaUJHuVaaJ6kAofr0xdrLx+Anzx0liVeI24XiZxzAteUlRF9d1wuwWl4VroJZtM2gyaWuoHhAXHmiMnzCbhNSLg9p27r324xKcNqkRYuYsj4VzoHylxCHfvYT7fL1/foOiHm50YhuSoTMQXZd3c3hZK2Vw7+AgjSWZdQlW1rb1+fB0upgth1yugAyHy7XK6oGkNn8q1N+gQ+Ouj1HzWvLYmSv0mSTIEjukEPZlefyW75nT5u954brsMg+A7DTOIofGYaGTCHw7XIwZBNsZixwhetmq0XTkMkSphk09FJcHjM2XmoHsxBko3Qurs73Jz1WFCa5UzyzhSnu62QkkV5tw==
signature_date : 2022-01-02T19:01:47.815298
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 *
import requests
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
UninstallKey Software Version Uninstallstring
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
fbd30ee5-8150-549e-9aed-fd9d444364fb XMind 11.1.2 11.1.2 "C:\Program Files\XMind\Uninstall XMind.exe" /allusers
XMind_is1 XMind 8 Update 9 (v3.7.9) 3.7.9.201912052356 "C:\Program Files (x86)\XMind\unins000.exe"
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "XMind-for-Windows-"
silentflags = "/allusers /S"
app_uninstallkey = "fbd30ee5-8150-549e-9aed-fd9d444364fb"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("*%s*.exe" % bin_contains)[0]
# Installing the software
print("Installing: %s" % bin_name)
install_exe_if_needed(
bin_name,
silentflags=silentflags,
key=app_uninstallkey,
min_version=package_version,
)
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
if control.architecture == "x64":
url = "https://www.xmind.net/zen/download/win64/"
arch = "64bit"
else:
url = "https://www.xmind.net/zen/download/win32/"
arch = "32bit"
# Getting latest version from official sources
print("URL used is: %s" % url)
download_url = requests.head(url, proxies=proxies, allow_redirects=True).url
version = download_url.split("/")[-1].split("-")[-2]
latest_bin = download_url.split("/")[-1]
end_bin_name = download_url.split("-")[-1]
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# 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 (from: %s to: %s)" % (version, version_from_file))
os.rename(latest_bin, bin_contains + arch + "-" + version_from_file + "-" + end_bin_name)
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)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating or not update-package-sources
return result
816e4e4df24e600abbb74f28cc0317d9a72c8a137b3cef0a4882d3e54abe55bd : setup.py
cb201e97a99fa1b30520ce78ab16fdf8ceea9c43686d102fe0409a92efe2515d : XMind-for-Windows-64bit-11.1.2-202111071931.exe
ce0ea44f70e6152e5b28443932f84c4a74c4daeca3ef96b511d797fc975d986d : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4cfe51ecadc3f96ce2179322f89afd9bdcb92341b35db89d2f944885ec46f54a : luti.json
1c79dc4529bfba83112885b074f1bb36876b24094af9f702e7855ceb0f92ee2c : WAPT/control