- package: tis-qbittorrent
- name: qBittorent
- version: 4.6.1-2
- categories: Configuration
- maintainer: WAPT Team,Tranquil IT,Clément Baziret
- licence: opensource_free,wapt_public
- target_os: windows
- impacted_process: qBittorent
- architecture: x64
- signature_date:
- size: 35.61 Mo
- installed_size: 171.23 Mo
- homepage : https://www.qbittorrent.org/
package : tis-qbittorrent
version : 4.6.1-2
architecture : x64
section : base
priority : optional
name : qBittorent
categories : Configuration
maintainer : WAPT Team,Tranquil IT,Clément Baziret
description : The qBittorrent project aims to provide an open-source software alternative to µTorrent
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources : https://sourceforge.net/projects/qbittorrent/files/
installed_size : 171226271
impacted_process : qBittorent
description_fr : Le projet qBittorrent vise à fournir une alternative logicielle libre à µTorrent
description_pl : Projekt qBittorrent ma na celu zapewnienie oprogramowania typu open-source stanowiącego alternatywę dla µTorrent
description_de : Das qBittorrent-Projekt zielt darauf ab, eine quelloffene Software-Alternative zu µTorrent anzubieten
description_es : El proyecto qBittorrent pretende ofrecer una alternativa de software de código abierto a µTorrent
description_pt : O projeto qBittorrent tem como objetivo fornecer uma alternativa de software de código aberto ao µTorrent
description_it : Il progetto qBittorrent mira a fornire un'alternativa software open-source a µTorrent
description_nl : Het qBittorrent-project heeft als doel een open-source software-alternatief te bieden voor µTorrent
description_ru : Проект qBittorrent направлен на создание программной альтернативы µTorrent с открытым исходным кодом
audit_schedule :
editor :
keywords : qbittorrent,project,aims,provide,open,source,software,alternative,µtorrent
licence : opensource_free,wapt_public
homepage : https://www.qbittorrent.org/
package_uuid : 3551b1ae-aa72-484f-9fa8-0833448bf354
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10
max_os_version :
icon_sha256sum : 7b12f73f18bb72f6def9d5b64d9367b09d1e185c859d7956d7af7270b03fa7f5
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : E+5+FP090OVbKcDkE/EEt6hlvfgUH8KWHrNfOfPlphwwJXHM0k/KxcrNYLhv9L/Xhiumq/T9VNvuchH7Z4v2i5jJ9GzMHnUQU5/3Sm2mvS4PhqW9bAolfQ38buKA69d/MZJrIOfrd+EYo/ABwhFyQOTBMMskMaQBpWhrY0HIcXA18S3heaiHAzwH+SUzam0wyALgnRlgH4/aow9eIku38SusJ+KTR6ec6ASvt8wupwbeYmAEXKUwpwspNjaiCY+cA+jCjkYuCxzfpGyGCJRRuWW2oX1XETPN+uImxil9dd+RjN7urIqJGQqlj3U8A7m2piT7NrnD9sg3o+d43fnMVA==
signature_date : 2023-11-26T10:00:19.640447
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 *
def install():
bin_name = glob.glob("qbittorrent_*_x64_setup.exe")[0]
install_exe_if_needed(
bin_name,
silentflags="/S",
key="qBittorrent",
min_version=control.get_software_version(),
timeout=600,
)
def session_setup():
print("Disabling: automatic updates")
user_conf_dir = makepath(user_appdata(), "qBittorrent")
user_conf_path = makepath(user_conf_dir, "qBittorrent.ini")
updateCheck_status = inifile_readstring(user_conf_path, "Preferences", r"Advanced\updateCheck")
if updateCheck_status != "false":
if isrunning("qBittorrent"):
error("qBittorrent is currently running")
print("Creating qBittorrent folder in : %s" % user_conf_dir)
mkdirs(user_conf_dir)
print("Checking/Updating qBittorrent updateCheck status")
inifile_writestring(user_conf_path, "Preferences", r"Advanced\updateCheck", "false")
else:
print("Automatic update is already disabled")
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
api_url = "https://sourceforge.net/projects/qbittorrent/best_release.json"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = wgets(api_url, proxies=proxies, as_json=True)
for to_download in json_load["platform_releases"]:
latest_bin = json_load["platform_releases"][to_download]["filename"].split("/")[-1]
if "x64_setup.exe" in latest_bin:
download_url = json_load["platform_releases"][to_download]["url"]
version = json_load["platform_releases"][to_download]["filename"].split("_")[1]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (app_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)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# Checking version from file
if get_os_version() == "Windows":
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
print("ERROR: Binary file version do NOT corresponds to online version")
else:
print("INFO: Binary file version corresponds to online version")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
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()
# Validating update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
a91fdd01a3a176d6f18abe4c39242585840834023b4b80987432bf5134be52cb : setup.py
45c071b08db6e4796bc30991aa9b209b74023d901c1679d86ea6df7b4bfc0afc : update_package.py
7b12f73f18bb72f6def9d5b64d9367b09d1e185c859d7956d7af7270b03fa7f5 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b846c9e8eb6c59f9263f971e042ad5c2bc0112e56fdc4383b175949714afd3f8 : luti.json
f3c6608dbf3187e6244b3023510a4425de8ac5d49a9628ee79453cc28eb19cc8 : qbittorrent_4.6.1_x64_setup.exe
2fa9fcfb946f0dc7492f77960b85008dcd43f63d5c77c4820c9af7b8af98fb23 : WAPT/control