tis-stretchly icon

Stretchly

Paquet d’installation silencieuse pour Stretchly

1.18.0-1

  • package: tis-stretchly
  • name: Stretchly
  • version: 1.18.0-1
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Jan Hovancik
  • licence: opensource_free,cpe:/a:bsd:bsd_license,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: Stretchly
  • architecture: x64
  • signature_date:
  • size: 141.72 Mo
  • installed_size: 349.54 Mo
  • homepage : https://hovancik.net/stretchly/

package           : tis-stretchly
version           : 1.18.0-1
architecture      : x64
section           : base
priority          : optional
name              : Stretchly
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Stretchly is a cross-platform open source app that reminds you to take breaks when working on your computer
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 349538632
impacted_process  : Stretchly
description_fr    : Stretchly est une application open source multiplateforme qui vous rappelle de faire des pauses lorsque vous travaillez sur votre ordinateur
description_pl    : Stretchly to wieloplatformowa aplikacja open source, która przypomina o robieniu przerw podczas pracy na komputerze
description_de    : Stretchly ist eine plattformübergreifende Open-Source-Anwendung, die Sie daran erinnert, Pausen zu machen, wenn Sie an Ihrem Computer arbeiten
description_es    : Stretchly es una aplicación multiplataforma de código abierto que te recuerda que debes hacer pausas cuando trabajas con el ordenador
description_pt    : Stretchly é uma aplicação de código aberto multiplataforma que o lembra de fazer pausas quando trabalha no seu computador
description_it    : Stretchly è un'applicazione open source multipiattaforma che ricorda di fare delle pause quando si lavora al computer
description_nl    : Stretchly is een cross-platform open source app die je eraan herinnert om pauzes te nemen als je op je computer werkt
description_ru    : Stretchly - это кроссплатформенное приложение с открытым исходным кодом, которое напоминает вам о необходимости делать перерывы при работе за компьютером
audit_schedule    : 
editor            : Jan Hovancik
keywords          : breaks,working,computer
licence           : opensource_free,cpe:/a:bsd:bsd_license,wapt_public
homepage          : https://hovancik.net/stretchly/
package_uuid      : e569a2cc-c5ca-4881-b92b-dc5752e327ba
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/hovancik/stretchly/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 42ea98667b44ce66296cf55f8dd2fa9dbff86f69793e967fc8a6786e21519706
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-09-20T21:07:52.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         : ryLR08bi//57rHbNn8tjFzFoigmZU+B9kJmqkR89GbDcCbCw5FIJKzilKo7s3L2QnsA44cxtreiXvX7zaozzp+oxdrbztH2MU7lkAJSDle38SOGaXZgGawOEKLZ36v42eEUnh66RbW4pUIgK+kGtN/0ebwS53/Ha+kurKpnKMp6Qk4ErEUR9RU39nXVGe6xbtrn56VFj3KovbNJwod4N+mvMMiuqgxspmkawXkVF52Um3aiB0/SbjOZ8bexUEGg4bT4aowetgxukuhQKCSj//yZIqi5cEufuSLqXrifcxDoO0DupOaj21jNZlyfYWlXszhTxl04GSt1+l/prwQZZfg==

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

install_path = makepath(programfiles, "Stretchly")


def install():
    bin_name = glob.glob("Stretchly-Setup-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags=" /allusers /S",
        key="4f357cc2-fcfb-5fb1-89af-67446d29eff0",
        min_version=control.get_software_version(),
    )


def uninstall():
    for to_uninstall in installed_softwares("Stretchly"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(ensure_list(control.impacted_process))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])
        if isdir(install_path):
            remove_tree(install_path)

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": ".exe", "macos": ".dmg"}
    api_url = "https://api.github.com/repos/hovancik/stretchly/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    # version = json_loads["tag_name"].replace("v", "").replace(".windows", "")
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].split(" ")[1].replace("v", "")
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

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

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    version = get_version_from_binary(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

ed2205736fdfc53b9c71a5f8f037710a93dac7494815042c76cf2410a65fab26 : Stretchly-Setup-1.18.0.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e6c7848b523b59ebb186933692903128b423f645be92f04316b33e0bdd6d56ec : WAPT/control
42ea98667b44ce66296cf55f8dd2fa9dbff86f69793e967fc8a6786e21519706 : WAPT/icon.png
1495af7a46355042897ee191549772c9aab1d1da6f98036cffb46826f214c246 : luti.json
3bf314eb6cea8453d270c22563d8a3b4cbea1b2f9c84a9c02819b179e50281d6 : setup.py
fd741963ee0e349390bddbacf4f01f82cbcbdaf179687cc104d0e3bb3f90234e : update_package.py