tis-rescuetime icon

RescueTime

Paquet d’installation silencieuse pour RescueTime

3.2.7.1-1

  • package: tis-rescuetime
  • name: RescueTime
  • version: 3.2.7.1-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.7.1-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      : 15106932-0e5f-4028-99da-0306d0ea6a66
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-02-24T10:00:14.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         : pNRziPl741FxaYzC7KEdvvgP19bTlMJzleXBD7AMBB6c03p/AMnlMdWVMmg77jcXcw/oSjvILTKjoUyvnipw9EV2Io0JAIrZ270K4AWcxpeKD3n11mojeXUImqU/XjJBfBJOHPtqWNUk9ZMXcdDgCGEPx+egbi2BTnh3gPDSQ3xSfMOoT3gDzkDAxe53FpSgwGlMNPuepaxukWEAUi2s7nCSslo1MN5XBJwKtL91SzN6c3dloDk+jPOhERtZ9i0eLlO4P6dyuG/udfhaugLj2Kw+k3Rg2vOtZapap4AXoSqwtI4UFfHaQDMStIExQqWbk8pTY/xMkRMKqDxQf9Tg6Q==

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

232ab21a2b024b11e2498b35526b98e7eb52d1de1297aff460b8aa26855b887c : RescueTimeInstaller_X.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7ad98567b030eb425766168aa80dda9953c498ef38ad9dd11df74a7a8e559d31 : WAPT/control
2255f1451b8eb3eb77f2cf455b8ca0b7ce4d0d73f0b371de9d306b1b7b9867e5 : WAPT/icon.png
09399f66845050dc397093dafb99b227b29aa82a09b941e95e805a56603a9efb : luti.json
80e1bca6330278c00298d2f2a0e7d3fc2a710094e70455e05ea2bc4985a2abaa : setup.py
f1a4f29b659e0ba7e0f2d1aff91cb432a6f2531e06b95a7c26e947e0227145da : update_package.py