tis-text-expander icon

TextExpander

Paquet d’installation silencieuse pour TextExpander

254.7.8.22-1

  • package: tis-text-expander
  • name: TextExpander
  • version: 254.7.8.22-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: © 2020 SmileOnMyMac, LLC dba TextExpander. TextExpander is a registered trademark of Smile.
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 473.89 Ko
  • homepage : https://textexpander.com/

package           : tis-text-expander
version           : 254.7.8.22-1
architecture      : x64
section           : base
priority          : optional
name              : TextExpander
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : TextExpander lets you instantly insert snippets of text from a repository of emails, boilerplate and other content, as you type – using a quick search or abbreviation
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : TextExpander vous permet d'insérer instantanément des bribes de texte à partir d'un référentiel d'e-mails, de documents standard et d'autres contenus, au fur et à mesure que vous tapez - en utilisant une recherche rapide ou une abréviation
description_pl    : TextExpander umożliwia natychmiastowe wstawianie fragmentów tekstu z repozytorium wiadomości e-mail, szablonów i innych treści podczas pisania - przy użyciu szybkiego wyszukiwania lub skrótów
description_de    : Mit TextExpander können Sie während der Eingabe sofort Textabschnitte aus einer Sammlung von E-Mails, Standardtexten und anderen Inhalten einfügen - mit einer schnellen Suche oder einer Abkürzung
description_es    : TextExpander le permite insertar instantáneamente fragmentos de texto de un repositorio de correos electrónicos, textos repetitivos y otros contenidos, a medida que escribe, utilizando una búsqueda rápida o una abreviatura
description_pt    : O TextExpander permite-lhe inserir instantaneamente fragmentos de texto a partir de um repositório de mensagens de correio eletrónico, modelos e outros conteúdos, à medida que escreve - utilizando uma pesquisa rápida ou uma abreviatura
description_it    : TextExpander consente di inserire istantaneamente frammenti di testo da un archivio di e-mail, boilerplate e altri contenuti, durante la digitazione, utilizzando una ricerca rapida o un'abbreviazione
description_nl    : Met TextExpander kun je tijdens het typen direct tekstfragmenten invoegen uit een verzameling e-mails, boilerplate en andere inhoud - met een snelle zoekopdracht of afkorting
description_ru    : TextExpander позволяет мгновенно вставлять фрагменты текста из хранилища электронных писем, шаблонов и другого контента по мере набора - с помощью быстрого поиска или сокращений
audit_schedule    : 
editor            : 
keywords          : 
licence           : © 2020 SmileOnMyMac, LLC dba TextExpander. TextExpander is a registered trademark of Smile.
homepage          : https://textexpander.com/
package_uuid      : e8297505-2f2f-4066-b9b3-3fb8a5e32177
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 29a69cf8bded4357fcae7f998da88b0860c32c55a930a702b1a844a5f2dbb0e1
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : wKOKPGqtuUTzo+GLmnzcKKu0c+uIJSnsfxHK6+hBbFXIq+2BDSsJuaR/uo5dd2QrKiL+TOhs8sI/jRySbFNmZ0hXXV6NeDKuh9pq4mIHd6A/ci5BXAldsTxXj++EJDA6rR5qzm6B1MZ8qU6NAL3tfkEXF3TYJ4rqHHvGr+9EafkfRbfW9x56bIIcp7PtBo/UUCYRZBurFFrx2KkM44Cv/xECQaxoeYrt4etsX5brrEs4i3/n44z3v9J/SW+hQvDpotHEmsWbMpgelWR+9zaj8i4HPyzoq4gsMpnhFGuFVfytEscTkp8pZRb+XZxMejtaNmwSbemV8nAOfbwCoUZJoQ==
signature_date    : 2024-08-19T11:00:34.441899
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

# -*- 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
    bin_name = glob.glob('TextExpanderSetup-*.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/install /q',
        key='{42A0435C-EFAD-47A4-9F69-589F0D18A214}',
        min_version=control.get_software_version(),
    )

def uninstall():

    # Uninstalling the additionnal softwares
    other_keys = ["{c9a1eeb5-6656-45af-aa17-aa425bc97d16}"]
    for key in other_keys:
        to_uninstall = installed_softwares(uninstallkey=key)
        if to_uninstall:
            to_uninstall = to_uninstall[0]
        else:
            continue
        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"])

# -*- 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()
    
    # URL de base pour Pale Moon
    data = requests.get('https://rest-prod.tenet.textexpander.com/download?platform=windows',allow_redirects=True,proxies=proxies)
    download_url = data.url 
    latest_bin = download_url.split('/')[-1]
    version = download_url.split('/')[4]

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

cce56b3c756652ec916290e6ca4316afdf40ced75b20787999aa43637b863e06 : setup.py
b711b5c00266dd99e9ef869f1c89713d41fa59b3119bcf63f9383a6029805224 : update_package.py
8939a0ce66c5919c8e56578c42c658be3bab171bf88cbc42e688a50e671509d6 : TextExpanderSetup-7.8.exe
29a69cf8bded4357fcae7f998da88b0860c32c55a930a702b1a844a5f2dbb0e1 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f2cacc9dff85b976202d292a08c20173ac6a40c86b13f19e6a236ee310a9805b : luti.json
acebe2d9ab053d06e6c676f51fe0ad17ca5018c18b0c7d8d1d7a67f2abf8899f : WAPT/control