tis-tesseract icon

Tesseract

Silent install package for Tesseract

0.8.24-1
Messaging
Messaging

  • package: tis-tesseract
  • name: Tesseract
  • version: 0.8.24-1
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
  • editor: surakin
  • licence: GPLv3
  • locale: all
  • target_os: windows
  • impacted_process: Tesseract
  • architecture: x64
  • signature_date:
  • size: 41.04 Mo
  • homepage : https://surakin.github.io/tesseract/

package           : tis-tesseract
version           : 0.8.24-1
architecture      : x64
section           : base
priority          : optional
name              : Tesseract
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description       : Tesseract is a native desktop Matrix client with end-to-end encryption, multi-account support, threads, and voice and video calls.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/surakin/tesseract/releases
installed_size    : 
impacted_process  : Tesseract
description_fr    : Tesseract est un client de bureau natif pour le protocole Matrix, avec chiffrement de bout en bout, prise en charge multicompte, fils de discussion et appels audio et vidéo.
description_pl    : Tesseract to natywny klient biurkowy dla protokołu Matrix, oferujący szyfrowanie typu end-to-end, obsługę wielu kont, wątki oraz połączenia głosowe i wideo.
description_de    : Tesseract ist ein nativer Desktop-Client für das Matrix-Protokoll mit Ende-zu-Ende-Verschlüsselung, Unterstützung mehrerer Konten, Threads sowie Sprach- und Videoanrufen.
description_es    : Tesseract es un cliente de escritorio nativo para el protocolo Matrix, con cifrado de extremo a extremo, soporte multicuenta, hilos de conversación y llamadas de voz y video.
description_pt    : Tesseract é um cliente de desktop nativo para o protocolo Matrix, com criptografia de ponta a ponta, suporte a múltiplas contas, tópicos de conversa e chamadas de voz e vídeo.
description_it    : Tesseract è un client desktop nativo per il protocollo Matrix, con crittografia end to end, supporto multi account, thread di conversazione e chiamate vocali e video.
description_nl    : Tesseract is een native desktopclient voor het Matrix-protocol, met end-to-end-versleuteling, ondersteuning voor meerdere accounts, threads en spraak- en videogesprekken.
description_ru    : Tesseract представляет собой нативный настольный клиент для протокола Matrix со сквозным шифрованием, поддержкой нескольких учетных записей, тредами обсуждений и голосовыми и видеозвонками.
audit_schedule    : 
editor            : surakin
keywords          : matrix,chat,messaging,client,encryption,e2ee,tesseract
licence           : GPLv3
homepage          : https://surakin.github.io/tesseract/
package_uuid      : 1cfb47c1-5a14-4fa4-9bdd-f0b3f22a9c98
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/surakin/tesseract/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 52420d07d329fc326a15f5d142c050b45f683de90397bbdd1f3e07284e45fc2d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-09-26T10:23:33.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         : ZXVyU5Prb9vVhGnmGLq5t4J1/l7g+MwfrTAqE/c5ARNXKUqL+hBm+gmV88Gr96QF2RoaFDwvJQhAwX/zJGxo440up0tlPOcHGzqP5YfErYDNVbWE2BRCUISiMJdfEJSxW8cx5hdRsXeWZY3tqaqBlFVht4a6Vtejc02lO3lzQbgAkxvoM0bVUvtJovUaI2M3Roawp0tRJlo1jBuf+D0UtHQqkEG3JRKFeHF/XLis+QnwTlklAwBqhQPX5SUKFGaEWVmTZbpyw9ELlmH9nngCljP/L52DZREDRWU1tVJJ2u5prmLLAvy9cKj/kNCp0jxhdiW44ZkQu2hECUKa22tBcg==

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


def install():
    # Uninstalling older version of the software that can remains
    for to_uninstall in installed_softwares(name="Tesseract"):
        if Version(to_uninstall["version"]) < Version(control.get_software_version()):
            print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
            killalltasks(ensure_list(control.impacted_process))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    bin_name = glob.glob("Tesseract-*-AMD64.exe")[0]

    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="Tesseract",
        min_version=control.get_software_version(),
    )

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


def update_package():
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    api_url = "https://api.github.com/repos/surakin/tesseract/releases/latest"
    print(f"API used is: {api_url}")
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].lstrip("v")

    download_dict = {
        "windows-x64": f"Tesseract-{version}-AMD64.exe",
        "debian_based-x64": f"Tesseract-{version}-Linux.deb",
        "redhat_based-x64": f"Tesseract-{version}-Linux.rpm",
        "darwin-x64": f"Tesseract-{version}-x86_64.dmg",
        "darwin-arm": f"Tesseract-{version}-arm64.dmg",
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    for asset in json_load["assets"]:
        if asset["name"] == download_dict[os_type]:
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

9b52668ed6f9342a4f2ffeda685b36aa0b7e474676e49f7c090b1d305147edc1 : Tesseract-0.8.24-AMD64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d855487ed0f07ba3fdea1f997b596a74ce2ca6d21a76d91a125d8e0a17818855 : WAPT/control
52420d07d329fc326a15f5d142c050b45f683de90397bbdd1f3e07284e45fc2d : WAPT/icon.png
42d9b08a5dc0ad2faf5ca409fd5cd8eea9ea5d478cde0072c377f8d0ae37e04a : luti.json
02ae4ae58525af5ce1eb4ec21bdd6fe100b3de3b78903446589c3d4641ffd9d5 : setup.py
53999dafc924d90d19b418c998b98a5630381dcf2ec68e946aab75adbcf30146 : update_package.py