tis-rescuetime icon

RescueTime

Silent install package for RescueTime

3.2.11.5-1

  • package: tis-rescuetime
  • name: RescueTime
  • version: 3.2.11.5-1
  • categories: Internet
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 23.94 Mo

package           : tis-rescuetime
version           : 3.2.11.5-1
architecture      : all
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      : 0a582d2e-55e7-4707-94cf-8dbe3fb6fac3
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    : 2025-08-16T11:04:01.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         : s3NFYMX9dCNTwpSXVnwB9j67d6OsDBGDkDSvv4MnN1WroKLjSA4l3nDWSh9NnlNcqE9K5VNiyQc38/8qhoq5ruw1BB65qj6gkNfnMXd+foBylaha9qPaufjOZ7d8iwD7X1sNnRp7JRYhYnhHyacPEBL+FOx3OiNoOwVEA0kS1HrUkCIBrkYjbuwymk4PzdG5/xc93cXLLP6DFG0n3y3cwrV5gvNSirQq+qhTUQgnY79EpdKPSNwDzzN3TbegUNiTtxbE+wwWJ1B2t28Lt1uTOlO66OEAEhcuJbxeJWTPaVHBpm8bIxJredPlgh3tOo30NsrLJAAu9JHV9RrSgZ3HGg==

# -*- 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

    # 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()    
        

9f5c744c351196a3d0b22d590455c7a88350efb2a5c68f20e6d2c0fab38095e0 : RescueTimeInstaller_X.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d6d8c160250290e6258b29667871a6b44a943b0a0e4ea317a2069de07a9280cd : WAPT/control
2255f1451b8eb3eb77f2cf455b8ca0b7ce4d0d73f0b371de9d306b1b7b9867e5 : WAPT/icon.png
72328d71a2755b47c7add14c5fbecede2d464c6dbe140402930fd49c323692f1 : luti.json
80e1bca6330278c00298d2f2a0e7d3fc2a710094e70455e05ea2bc4985a2abaa : setup.py
f1a4f29b659e0ba7e0f2d1aff91cb432a6f2531e06b95a7c26e947e0227145da : update_package.py