
Tribler
Silent install package for Tribler
8.1.3-1
- package: tis-tribler
- name: Tribler
- version: 8.1.3-1
- maintainer: Amel FRADJ
- licence: GPL-3.0 license
- target_os: windows
- architecture: x64
- signature_date:
- size: 47.08 Mo
- homepage : https://www.tribler.org/
package : tis-tribler
version : 8.1.3-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 : 7dbe3dba-7455-4d89-935d-cf14db1c816e
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-04-08T09:12:02.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 : d8dh86Z6w0w4N2EYWRFfN5PU2Nt6+YNwbL0clcPhZ3DANURyCQrJh9SspOzTdvU+8UGq7AS5EzH+/MexRrm/JgMOZaOftiFXIwFSooJAjj0ZuRXiSdB/6EcSUxYl5XG3qwrMvQ1m8FtIAlgTc1T7Lgg24ZG5YUjAUulEMZXpssmfrICUIz9UvyvJ2NuJg+eBCrsL5/lsWkBMzmZsPcbp3H1UGpKaIw9UloxstoD6LLab71vIJ5u2nsQvYF7rKVn7JG53ZZLpD8f4YSYo1lQwI6nJF4rNXgvVg/gLAq+aZOdksgDTLSFb4GfG6uKfiOqeENktHNfwAD4PYxQ/87BJDg==
# -*- 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()
84a62b57db703702ccdb4499a202c6faeb2ac9df643b868e74b6470e5f54f0d6 : Tribler_8.1.3_x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f0c2aa41a47c9ad26cbc455d3e3e4f5f5c04082557aca80c32c932db00feb2c6 : WAPT/control
7f6717c0df5423cc278ec9de4c7d2dfb8eee7e4bcaf0c8425835c7eca9e9387e : WAPT/icon.png
7af7229bdc449ed5dad0d99f0e4b121aa40b5067d2d3b4001807f9acabe75fe0 : luti.json
4a2d172b02bd9e3c1e568ea59ae4c92542c0ce7081bcaee71ef8df23b3074247 : setup.py
62c78e2bc1ae8e68a99b1530e5ce1a0d6636a48ed2a02a9a7ce9b14c7da07a0e : update_package.py