Thorium Reader (EDRLab)
Paquet d’installation silencieuse pour Thorium Reader (EDRLab)
3.3.0-0
- package: tis-thorium-reader
- name: Thorium Reader (EDRLab)
- version: 3.3.0-0
- maintainer: Bertrand Lemoigne, WAPT Team
- licence: cpe:/a:bsd:bsd_license
- target_os: windows
- impacted_process: Thorium
- architecture: x64
- signature_date:
- size: 123.13 Mo
- installed_size: 357.40 Mo
package : tis-thorium-reader
version : 3.3.0-0
architecture : x64
section : base
priority : optional
name : Thorium Reader (EDRLab)
categories :
maintainer : Bertrand Lemoigne, WAPT Team
description : Read, Select, Annotate, Classify. Perfect for heavy readers, library-goers, and students alike!
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources : https://thorium.edrlab.org/en/
installed_size : 357404672
impacted_process : Thorium
description_fr : Lire, Sélectionner, Annoter, Classer. Parfait pour les grands lecteurs, les bibliophiles et les étudiants !
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords : read,select,annotate,classify
licence : cpe:/a:bsd:bsd_license
homepage :
package_uuid : dbba0d60-bc47-4987-9dca-e570a24614e8
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10
max_os_version :
icon_sha256sum : 60290da86e2addb42990cf2a86d475a40e723f494b69e7b4633a6a709e22b4c0
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-12-15T12:02:00.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 : GTTDXoj2UNiCznOli6ywY5IDo4vJ3yWQppUABJsWze/+yU/Z+PyG9jSY3JSmYE/cysyYTAgKVcQm+nihZV9qBt0saVyFp3+8tbkMzXxJGLsff+MsWJqHSnZXuPUM/Yk0rLHRDpdUwjnjetcmNU1kLX9KYI0SaQwu51nwx7yEWnEtWZufbWhzch4l8C5/bIlk3qjqAb5DUTnJOe/3RxTs15Xnc4q7XSV9lxhepaP7CtAhRJIOjeCmybHE+h1fX/uxtjQK9YRiOH3lbnIO7098xZoVBLHEsKQ9DCCl2gaY3JbrOiKLu0pPHnIFMwIaMh9QAIjsAvrCqNyww/o6WISKiA==
# -*- 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('*.exe')[0]
# Installing the software
print(f"Installing: {bin_name}")
install_exe_if_needed(bin_name,
silentflags='/S /ALLUSERS',
key='13998dff-ad91-57f4-b530-aa7ad6d4fea5',
min_version=control.get_software_version()
)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
source_html = wgets('https://thorium.edrlab.org/en',proxies=proxies).splitlines()
for line in source_html:
if 'https://github.com/edrlab/thorium-reader/releases/download' in line:
version = line.split('/')[-2].replace('v','')
break
latest_bin = f'Thorium.Setup.{version}.exe'
download_url = f'https://github.com/edrlab/thorium-reader/releases/download/v{version}/Thorium.Setup.{version}.exe'
# Deleting binaries
for f in glob.glob("*.exe") + glob.glob("*.msi"):
print("Removing: %s" % f)
remove_file(f)
# Downloading latest binaries
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)
# Changing version of the package
version = get_version_from_binary(latest_bin, "ProductVersion")
if Version(version) > Version(control.get_software_version()):
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 or not update-package-sources
return package_updated
ac1a60804fbe98dc76a0cf73de6c49c3a2dc283d0866597b1acb600ccb775eb4 : Thorium.Setup.3.3.0.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
092774bb10526ff43a4fa1913054fe55055beb1beeb2b1a32c4d2b23a8881255 : WAPT/control
60290da86e2addb42990cf2a86d475a40e723f494b69e7b4633a6a709e22b4c0 : WAPT/icon.png
257d8a88cdf7e60aa4fa981ee6a5a4f6fcb4556916004c223763f2d307281385 : luti.json
5eafb7cffea724241d15fe98db9c1c29a95e849c9bb6dcf0767f701fef01ee24 : setup.py
c182686decc745f21c13bff2978dbaeef9375061d0ea5b6e949d2db102cfa9b7 : update_package.py