tis-tribler icon

Tribler

Paquet d’installation silencieuse pour Tribler

8.1.2-1

  • package: tis-tribler
  • name: Tribler
  • version: 8.1.2-1
  • maintainer: Amel FRADJ
  • licence: GPL-3.0 license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 47.07 Mo
  • homepage : https://www.tribler.org/

package           : tis-tribler
version           : 8.1.2-1
architecture      : x64
section           : base
priority          : optional
name              : Tribler
categories        : 
maintainer        : Amel FRADJ
description       : Tribler is an open source anonymous peer-to-peer decentralized BitTorrent client
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/Tribler/tribler
installed_size    : 
impacted_process  : 
description_fr    : Tribler est un client BitTorrent décentralisé, anonyme et peer-to-peer
description_pl    : Tribler to anonimowy, zdecentralizowany klient BitTorrent typu peer-to-peer o otwartym kodzie źródłowym
description_de    : Tribler ist ein quelloffener, anonymer, dezentraler Peer-to-Peer-BitTorrent-Client
description_es    : Tribler es un cliente BitTorrent de código abierto, anónimo y descentralizado
description_pt    : Tribler é um cliente BitTorrent descentralizado peer-to-peer anónimo e de código aberto
description_it    : Tribler è un client BitTorrent decentralizzato peer-to-peer anonimo e open source
description_nl    : Tribler is een openbron anonieme peer-to-peer gedecentraliseerde BitTorrent-client
description_ru    : Tribler - анонимный одноранговый децентрализованный BitTorrent-клиент с открытым исходным кодом
audit_schedule    : 
editor            : 
keywords          : 
licence           : GPL-3.0 license
homepage          : https://www.tribler.org/
package_uuid      : 5fd6956e-2866-4c00-b7a0-2aaa071e4a51
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 7f6717c0df5423cc278ec9de4c7d2dfb8eee7e4bcaf0c8425835c7eca9e9387e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-19T13:00:50.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         : AxyMkhaEXA0HjWLN49+WD1B9kBvSXXlJ4oVvKOndJv+y958ZbbbPssd7V5yU7MJWLH/27H/K2ReasjhTSwR+t8Cgtq1v3Up64VgnouvmdaFiiNNKb1uFnoDpHAvDYiuZxu9iEIY19HCiACGUL+5rjn0I6aY2f8B0xCIDxPVjYFDU7jmD79RqEsPZfW8tDo3XldUIBvAag7a6AfDv4T6LQNG5WAVyjYxZk+PR1TWtCHOsLs9g+iwoK/cK97yhLY6XnzZUbcAelwSqn2hdczBJd+ZRcyRXqinPR01/wK7+klAAZOoaSDI5qq5lZyzHuhu2EJlK2Flie1BB7sI0BiAVrA==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# 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('Tribler_*.exe')[0]
    software_version = control.get_software_version()

    # Uninstalling older major versions of the software
    for to_uninstall in installed_softwares(name="Tribler"):
        if Version(to_uninstall["version"], 3) < Version(software_version, 3) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(control.impacted_process.split(","))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    # Installing the software
    install_exe_if_needed(bin_name,
        silentflags='/S /allusers',
        key='Tribler',
        min_version=control.get_software_version(),
    )



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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {"x64": "_x64.exe", "x86": "_x86.exe"}

    git_repo = "Tribler/tribler"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".exe") and dict_arch[control.architecture] in download["browser_download_url"]:
            if "debug" not in download["browser_download_url"]:  # Skip debug versions
                url_dl = download["browser_download_url"]
                version = json_load["tag_name"].replace("v", "")
                filename = download["name"]
                break

    if not isfile(filename):
        package_updated = True
        wget(url_dl, filename, proxies=proxies)

    # nettoyer les fichiers temporaires
    for f in glob.glob("*.exe"):
        if f != filename:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

fa2679abeb9aea744a8301b7441eaf4f84e6003ab4b466e94f577304e06249c7 : Tribler_8.1.2_x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
77ebef197e2d7c50ce1990d2b86ad4a2291ddd620062515711e9d0e8531c3da4 : WAPT/control
7f6717c0df5423cc278ec9de4c7d2dfb8eee7e4bcaf0c8425835c7eca9e9387e : WAPT/icon.png
d9f6ffd4719e3d81fe674ccba7a190f5d98ee58941843577857df60365ab13c3 : luti.json
4a2d172b02bd9e3c1e568ea59ae4c92542c0ce7081bcaee71ef8df23b3074247 : setup.py
62c78e2bc1ae8e68a99b1530e5ce1a0d6636a48ed2a02a9a7ce9b14c7da07a0e : update_package.py