- package: tis-zim
- name: Zim Desktop Wiki
- version: 0.75.2-2
- categories: Utilities
- maintainer: administrator
- locale: all
- target_os: windows
- impacted_process: zim
- architecture: x64
- signature_date:
- size: 21.60 Mo
package : tis-zim
version : 0.75.2-2
architecture : x64
section : base
priority : optional
name : Zim Desktop Wiki
categories : Utilities
maintainer : administrator
description : Zim is a graphical text editor used to maintain a collection of wiki pages
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources :
installed_size :
impacted_process : zim
description_fr : Zim est un éditeur de texte graphique utilisé pour maintenir une collection de pages wiki
description_pl : Zim jest graficznym edytorem tekstu używanym do utrzymywania kolekcji stron wiki
description_de : Zim ist ein grafischer Texteditor zur Pflege einer Sammlung von Wiki-Seiten
description_es : Zim es un editor de texto gráfico utilizado para mantener una colección de páginas wiki
description_pt : Zim é um editor de texto gráfico utilizado para manter uma colecção de páginas wiki
description_it : Zim è un editor di testo grafico utilizzato per gestire una raccolta di pagine wiki
description_nl : Zim is een grafische teksteditor die wordt gebruikt om een verzameling wikipagina's te onderhouden
description_ru : Zim - это графический текстовый редактор, используемый для ведения коллекции вики-страниц
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 35e2c768-9106-4dea-b34d-0d0cdddc2682
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 3555a40fb9c368a743b426e8be071878e0944e20857bd89b737da2c62616cb55
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : e8PWjqaLZcWH6fRj04vYYczYGA0VQgyNBQxi/z0P6cgfwIP1LVX4oqWLH5wyYVt4ATM15WcOhdFcy5CQQo9clsOX/cSsoYhLQHjJGqKF7pbcu2q7KdGVgxgskTDqZWD2j4/ndQ5jqucYLHB7ebEauFATBc+BRLbJfHz/ituxQfz7AOP0HGMfq6GOYwJrbuHy7KI2zM/M1KvfHk7BwuvIbmcrDDoVaVZCq8AngZtWCe/LqfYzdHnUo90BLRnyIYk8r/15/DNHvCLK4FnuKbLLXLiMTQcWrFwX5YI04vYhXUU1L4fWzbo0iksu6l5+IsGdVF+hyk3sfM36BtQy9SkyBQ==
signature_date : 2023-09-25T02:00:56.486870
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 *
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob("*.exe")[0]
for i in installed_softwares("zim desktop wiki"):
run(uninstall_cmd(i["key"]))
wait_uninstallkey_absent(i["key"])
# Installing the software
print("Installing: %s" % bin_name)
install_exe_if_needed(
bin_name,
silentflags="/S",
# key="404fbece-3a0a-4f4f-b1f1-82ce46af9696",
name="Zim Desktop Wiki",
min_version="",
)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
download_html = wgets("https://zim-wiki.org/downloads.html").splitlines()
for line in download_html:
if "Latest release" in line:
version = line.split(" ")[2]
download_url = "https://zim-wiki.org/downloads/zim-desktop-wiki-%s-setup-w64_x86.exe" % version
latest_bin = 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")
os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
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 update-package-sources
return result
c4295654933256ad2ece9760016e0cc548c37612c56db1bd33a7ef349981415a : setup.py
c2dd24f24ef8cab3e4e813d89a0a33e64ea4378d3c23382650a6e33bd2186268 : zim-desktop-wiki-0.75.2-setup-w64_x86.exe
d2bdc5c553bf8f90ca406fe7ec67257f981ec8995f2fe0723043aee1f19562aa : update_package.py
3555a40fb9c368a743b426e8be071878e0944e20857bd89b737da2c62616cb55 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4c255e7067670a6d1b88a2b1c45112c2d2c9ce32fd3be01b94aa9b46b80222ee : luti.json
3d3af1f859fc06182bc6dcf641082bec52c78b9735ec97e7fe78a890e4ba16ff : WAPT/control