tis-thorium-reader icon

Thorium Reader (EDRLab)

Silent install package for Thorium Reader (EDRLab)

3.1.0-0

  • package: tis-thorium-reader
  • name: Thorium Reader (EDRLab)
  • version: 3.1.0-0
  • maintainer: Bertrand Lemoigne, WAPT Team
  • licence: cpe:/a:bsd:bsd_license
  • target_os: debian_based
  • impacted_process: Thorium
  • architecture: x64
  • signature_date:
  • size: 100.97 Mo
  • installed_size: 100.96 Mo

package           : tis-thorium-reader
version           : 3.1.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         : debian_based
min_wapt_version  : 
sources           : https://thorium.edrlab.org/en/
installed_size    : 100962304
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      : a80188b0-1d6b-48ce-9015-92756b91f307
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 60290da86e2addb42990cf2a86d475a40e723f494b69e7b4633a6a709e22b4c0
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-03T17:39: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         : RBvdIMzQOu91T8rUdSXrSGZ58CFjjTMRSL3de8YVTlF0D+i2Uf4hyGcDW8NEFdskurC4fBIrmlgvrxG0LRTpVLUDM/27Z6mEfSXfkq2M3suvszR5AEcsv9GP67Qh50lccuqK5buWZCo5hfU7jOT49fKirJWlmXa4uf+YE3/MONR6iQUATB0y4BTnN4NdrKMoA8WiqtoSiRkvs9PSIalmTSN29emrOF6+ACu+epsig1QPgJr5eyP+uHfA/lbT29NNzm3ke9LWoEIoFJW2Joe4CUYOwjNJaW07fA23HQqDCXTsHZb1byEws7tOhcPJtNU3ehe4AlRi+mFXgqUwUaxhfw==

# -*- 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('*.deb')[0]
    # Installing the software
    print(f"Installing: {bin_name}")
    install_deb(bin_name)
    run('apt install -f')

def uninstall():
    uninstall_apt('edrlab.thoriumreader')


# -*- coding: utf-8 -*-
from setuphelpers import *

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    #they do not always release versions for all platforms
    url = 'https://thorium.edrlab.org/en'

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", proxies=proxies):
        if 'amd64.deb' in bs_search['href']:
            download_url = bs_search["href"]
            latest_bin = download_url.split("/")[-1]
            version = latest_bin.split("_")[1]
            break

       # Deleting binaries
    for f in glob.glob("*.dmg"):
        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

    print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
    package_updated = True
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

0c8b117ea166fe0b3a6b7e3e2e1acab322b423ce06b686a922dc637c3755af98 : EDRLab.ThoriumReader_3.1.0_amd64.deb
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0b79c4b37e80d52c306efc0df6d3b2b4a07443742fead7198a16c5369b87b107 : WAPT/control
60290da86e2addb42990cf2a86d475a40e723f494b69e7b4633a6a709e22b4c0 : WAPT/icon.png
4ff837365d2ad2c6f6d2c0b681ab3a770a8d5c1c72a95bb903a54cba7209ce4f : luti.json
8686bccbee29fe4b664981a1e109ac909b655c01c0ea771a326bf4c141c6d574 : setup.py
5653870e57c5b193ca26851123bc7864e7e5cd06ebcc73addccb526e1dad9889 : update_package.py