- package: tis-qbittorrent
- name: qBittorent
- version: 4.5.5-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: 33.06 Mo
- installed_size: 171.23 Mo
- homepage : https://www.qbittorrent.org/
package : tis-qbittorrent
version : 4.5.5-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 : 2759a557-6ffe-4480-b306-082ed8669beb
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 7b12f73f18bb72f6def9d5b64d9367b09d1e185c859d7956d7af7270b03fa7f5
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : i5MJK0VVWUauJl+PNjxrOpgaQwdm5R9Ri6kAweuRIWrJnRwtODW8LyFJeJZtJW8LXqCeOqiftsiTVV6opsA9kUVPYKVB6PmLb2wN3d/c4WxLaMFo4ljDjCE9tCzhkTWMlOJZsW2rduM1Cjn3vgwmuHARQL6ZK4YAVF++kBqLZ10NaqPtXcn8igaRaWQ3Si6wriZ33dQIkXRZQbK89fglLQFq3iZRZ0SdfODLK9BKniBEZjRJJeiRlT+LIx0VlDrdxRW2ontUqnhMOUhDV7vlI7vuzo3TmYKQUxKqGdhcgjNWthzttCv8rIxAgYU2cgd7qbTlRRaB1g3NiOXMxX7o0Q==
signature_date : 2023-11-11T11:01:39.751246
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
bff8b8cfced6af74b17a646457a7312aa62d9957be1fdf7bb5ea410f5db65430 : luti.json
a95a39a8701661fcd9eec6dbf78f8099be1edfa145fb7d43a0105ec82f97df8f : qbittorrent_4.5.5_x64_setup.exe
66e8665f9dddca3a3d67bce56fa517c99c68b3a6bad22df4b6222d9132e0ee51 : WAPT/control