tis-zim icon

Zim Desktop Wiki

Paquet d’installation silencieuse pour Zim Desktop Wiki

0.76.0-2

  • package: tis-zim
  • name: Zim Desktop Wiki
  • version: 0.76.0-2
  • categories: Utilities
  • maintainer: administrator
  • locale: all
  • target_os: darwin
  • impacted_process: zim
  • architecture: x64
  • signature_date:
  • size: 67.08 Mo

package           : tis-zim
version           : 0.76.0-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         : darwin
min_wapt_version  : 2.3
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      : 7db28f1f-d802-40f8-a0a0-286d2e59fc25
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3555a40fb9c368a743b426e8be071878e0944e20857bd89b737da2c62616cb55
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-12T18:08:32.000000
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
signature         : f69yAAegzrz/trLrB1uKKCUxje4m/NoXS42D9jFzAQSK3hTy0z/zPz0v/oyqTrHgadCWhpvK4437A6JTsyqVQHxYcgfZqyKHVkjj52+bBPMAdWvH8+9YID4pStpyl254mBiz0mIcP9qlvj9Xn1X8vdJBfn3E70N5TRRiCQuhKsf0SQ6HG+hj3Sj6ZteT+pOPz0p/r/ivtnNNbRWcB6Mu0R7BG7SsYMnIiKAbCozfItNLdmMIkMSQSivZSwcC9TqLLYH1oCic+Gc/HYm8ck+dMcbQofRQHM5kcHxWu4tXgH2UT5EKM1rLjpDW8OOqIuSuhA0GqJzu1x7aqXmGZH0E1w==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_dmg(glob.glob("Zim-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/Zim.app")

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://gitlab.com/api/v4/projects/30529415/releases"
    os_dict = {"windows": ".exe", "debian_based": ".deb", "redhat_based": ".rpm", "darwin": "x86_64.dmg"}

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for to_download in json_load[0]["assets"]["links"]:
        if "x86_64" in to_download["name"]:
            download_url = to_download["direct_asset_url"]
            version = json_load[0]["name"].replace("v","").split("+")[0]
            latest_bin = to_download["name"]
            break

#json_load[0]["name"]


    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # 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)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e60389478943984a9eecb0f5e23afc9da7399fb4ca2dbc980b19c0bec9a1f333 : WAPT/control
3555a40fb9c368a743b426e8be071878e0944e20857bd89b737da2c62616cb55 : WAPT/icon.png
516143bc8708fbd19a8025a824b6d829546b51fcbd8834c4d4480f3b1c626c6b : Zim-0.76.0+327_x86_64.dmg
b4b4e98763c9f07b035408237042e2bcc8a7fe77643a35dcc66f5e68a4415f08 : luti.json
aa7c928702f3bbd9ae5cd60faea176332a1dbb9ae4f45bba43eec603ec5e6ef6 : setup.py
53c6671ff8e39371ba0aa2b033899c4a2d6d64a13f63e270db124b9fbfd0098a : update_package.py