- package: tis-qbittorrent
- name: qBittorent
- version: 4.5.4-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: 32.76 Mo
- installed_size: 171.23 Mo
- homepage : https://www.qbittorrent.org/
package : tis-qbittorrent
version : 4.5.4-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 : 36072681-5d3c-4a62-b098-38658144582c
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 7b12f73f18bb72f6def9d5b64d9367b09d1e185c859d7956d7af7270b03fa7f5
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : S4e1ImucxHS31KU3ZGSoML4kgD8Y/wnuxYd9LyQckMkPS15uo1RRCGcc5cx+MCTMI4ZCJBZL8KzqqSj9PwruQt0xssKl84MKH92jy/B7CeQhNagGi69/R6lh72Lvc6YqA+NvRYcP+16Ki08HO8Fow6M2XhlFTq8w/nnr5+IeFUcC65j3m2C6CDWyV6Dp99rs6uhx6xBX5xeUH5bvKsiunHOzsJjxK5mXgj+xNmIKmxic2YA2fcKkLKcOLXcJI5tQacNfERTASVmonxcBxmrb6II1O5QhIrrOg5g/grIkq3+yd9C+KKaaOMNrXZHiSUvlEJC+6dFcdGgvzCRUpfsv3w==
signature_date : 2023-08-22T17:00:14.362298
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
fc7f32710a76c2ca63a5e0aab0699c590bd0b1654fc449c61b047554cde4f398 : luti.json
3ba266ddbe5624aeedec1a23c6bf86d6cfd5b547e8c1a31169f6a08434c9e615 : qbittorrent_4.5.4_x64_setup.exe
35e3d0ef68d2da120abdd9ab08bcb1bb8f74fa8713ccbc91f6c2c7575af8d895 : WAPT/control