tis-stretchly icon

Stretchly

Paquet d’installation silencieuse pour Stretchly

1.18.0-1

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • 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: macos
  • impacted_process: Stretchly
  • architecture: x64
  • signature_date:
  • size: 178.94 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          : PREPROD
locale            : all
target_os         : macos
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      : 0cb81586-92c1-48fa-b787-ba1b3203cec9
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/hovancik/stretchly/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 42ea98667b44ce66296cf55f8dd2fa9dbff86f69793e967fc8a6786e21519706
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-09-16T11:55:25.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         : QBOQfvcrMoPUopT9lutAyWNN5YTTJi75wR7pgspmp0M8k0VqtgCjXcCyyEPr5DchZofx4g9VS4cacrK9BDhLCKFe8rsZqbehzr9xnevPrsMQmtY2QdMB+Z0G6seIwcKaaHN7sEzRzXpn95ITOdoSR0LG24gy0PM0Chy+HTMFzRVzq7YWDlaRKpGVf+JMcFrRPVdQrcxgQqwtQjp7gNBGwi0uJGWeLnwE0D6DhR0o76b7jCXxFGrryz3Oh1saiHMunAD0V/EkUtmrEovn5qDYHDFmkkq5ZjI5zt3wv8aHuqoOYUMqUu8Q8FTq5ztBor+hZNVLwhk/rhgVB/9K6Lr3wQ==

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


def install():
    install_dmg(glob.glob("Stretchly-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/Stretchly.app")

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
        
    api_url = "https://api.github.com/repos/hovancik/stretchly/releases/latest"
    latest_release = wgets(api_url, proxies=proxies, as_json=True)
    version = latest_release['tag_name'].replace('v', '')

    download_dict = {
        'macos-x64': f'Stretchly-{version}.dmg',
        'macos-arm': f'Stretchly-{version}-arm64.dmg',
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    for asset in latest_release["assets"]:
        if asset["name"] == download_dict[os_type]:
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit(".", 1)[-1]
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

9c454764b19d0079c770ae894e88c4d0400f4a6573f74002ae2384144c4d1ec3 : Stretchly-1.18.0.dmg
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
f153e79426b242db89c9760bf75d6cafb4710e053dcf52a8194eef9373bf615e : WAPT/control
42ea98667b44ce66296cf55f8dd2fa9dbff86f69793e967fc8a6786e21519706 : WAPT/icon.png
28b5cf8c503dada64bb31d4ce96387a9ab431c14e0b67c2d4d3906332b293e84 : luti.json
1ab469857b57bd9d08063450e7601397140e1b7806bc902661cc0b8291090dcc : setup.py
dbcadf45ae6f33cbf3f657fc9e24af5544130ea79466ae9d5b03624c7364db8c : update_package.py