tis-rescuetime icon

RescueTime

Paquet d'installation silencieuse pour RescueTime

3.2.12.3-1
Internet
Internet

  • package: tis-rescuetime
  • name: RescueTime
  • version: 3.2.12.3-1
  • categories: Internet
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64,arm64,arm
  • signature_date:
  • size: 24.63 Mo

package           : tis-rescuetime
version           : 3.2.12.3-1
architecture      : x64,arm64,arm
section           : base
priority          : optional
name              : RescueTime
categories        : Internet
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : A personal analysis service that shows you how you spend your time and provides tools to help you be more productive
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Un service d'analyse personnelle qui vous montre comment vous passez votre temps et fournit des outils pour vous aider à être plus productif
description_pl    : Usługa analizy osobistej, która pokazuje, jak spędzasz czas i zapewnia narzędzia, które pomogą Ci być bardziej produktywnym
description_de    : Ein persönlicher Analysedienst, der Ihnen zeigt, wie Sie Ihre Zeit verbringen, und Ihnen Werkzeuge an die Hand gibt, die Ihnen helfen, produktiver zu sein
description_es    : Un servicio de análisis personal que le muestra cómo emplea su tiempo y le proporciona herramientas para ayudarle a ser más productivo
description_pt    : Um serviço de análise pessoal que lhe mostra como gasta o seu tempo e fornece ferramentas para o ajudar a ser mais produtivo
description_it    : Un servizio di analisi personale che vi mostra come impiegate il vostro tempo e vi fornisce strumenti per aiutarvi a essere più produttivi
description_nl    : Een persoonlijke analyseservice die je laat zien hoe je je tijd besteedt en je tools aanreikt om je te helpen productiever te zijn
description_ru    : Сервис персонального анализа, который покажет вам, как вы тратите свое время, и предоставит инструменты, которые помогут вам быть более продуктивными
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : 
package_uuid      : 8c6026c1-0a6e-4c3a-9e4c-2b99d2bd7f9e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2255f1451b8eb3eb77f2cf455b8ca0b7ce4d0d73f0b371de9d306b1b7b9867e5
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-05-05T11:02:26.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         : ghDX4QpsblvFAuc6KbuBabEZVh1TA6x4wPM8gA8UWZ9tKDp/8/JRN1bmuWZcCGY7a5uUzL9T68KULsFygRGz4j9TgICOuuIhBc/ZyDILDQGFlYe53FVpV/tpT0UmBBJLxrYRrW4bhY54T2jjWValgoSMdgYYyiL588qbW4yiR5IDxP89uwEbvdZ6+7sYQ/Oc4eS95pNJmE8wiwMJ4Nu3x/9f/Zv3ka69X/MV8vIadPnW2CX2tdg+blEHNWHevt4DUAe/eq8qjl1Eje36qt7GLrgiAAEF308pGYQkexPXomWWA+4z28Rz70eGMPQYTB+CC0CJwRZb4/6kKnexXeNXgg==

# -*- 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():
    # Remove previous installation
    for to_uninstall in installed_softwares("RescueTime"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(control.impacted_process.split(","))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

    # Installing the software
    print("Installing: RescueTimeInstaller_X.exe")
    install_exe_if_needed('RescueTimeInstaller_X.exe',
        silentflags='/VERYSILENT /NORESTART /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS',
        key='{2505571C-03B3-4F9F-AC35-33F1CB4B5E9E}_is1',
        min_version=control.get_software_version(),
        get_version=get_version,
        timeout=600,
    )

def get_version(app_registry_dict):
    return app_registry_dict["name"].split(" ")[-1]

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



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

    download_url = "https://www.rescuetime.com/installers/RescueTimeInstaller_X.exe"
    latest_bin = download_url.split("/")[-1]

    # 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)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

           
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

ac2c55a8944b530a8b9de8e534a77e39a20733375e23cf96e0348e943fd1dba2 : RescueTimeInstaller_X.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
6c3117dc541a63f82f3681fd325f3e5284b43f5900524996344246303e131505 : WAPT/control
2255f1451b8eb3eb77f2cf455b8ca0b7ce4d0d73f0b371de9d306b1b7b9867e5 : WAPT/icon.png
89a2ad93b56f3387921659c4e5e85ba95023e36a9bfcefefb3f4a7c466429c09 : luti.json
7b922fde6a046f27a0b926ab4fc33c271d3c51b223b4b2e9d058933db4c443ef : setup.py
f1a4f29b659e0ba7e0f2d1aff91cb432a6f2531e06b95a7c26e947e0227145da : update_package.py