tis-typora icon

Typora

Paquet d’installation silencieuse pour Typora

1.9.5-1

  • package: tis-typora
  • name: Typora
  • version: 1.9.5-1
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: proprietary_restricted,wapt_private
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 85.35 Mo
  • homepage : https://typora.io/

package           : tis-typora
version           : 1.9.5-1
architecture      : x64
section           : base
priority          : optional
name              : Typora
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Typora offers you a seamless experience as a reader and writer
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Typora vous offre une expérience fluide en tant que lecteur et rédacteur
description_pl    : Typora zapewnia płynne doświadczenie jako czytelnik i pisarz
description_de    : Typora bietet Ihnen eine reibungslose Erfahrung als Leser und Schreiber
description_es    : Typora te ofrece una experiencia fluida como lector y escritor
description_pt    : O Typora proporciona-lhe uma experiência perfeita como leitor e escritor
description_it    : Typora vi offre un'esperienza di lettura e scrittura senza soluzione di continuità
description_nl    : Typora geeft je een naadloze ervaring als lezer en schrijver
description_ru    : Typora дает вам возможность без проблем читать и писать
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_restricted,wapt_private
homepage          : https://typora.io/
package_uuid      : 1f0835bf-394a-43da-9856-aeabca9302f3
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : ef4458f4a02b0d7c677f7b520fae2cb9c6056acceed3f8aebc1acce34fbb82f2
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-10-07T15:02: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         : AIJJ43mwovcHe/kAjd/XvvMbia/6styMQJEo/5GQSp03uMfMYENtSXCkHbMi5LprUtlEGG45L0VnWlKrX0+Y9jUY14pP2DhnfSpcw+d9PkKPOF5MRnXWoo4dLz/Lh4FwMdGMX3+WLjwXQrzrDoa0bqtd41zdPI2xdp/VQFcJ+s2fVRyM06ts5Zj8jaAdbaLu4gNQLwUCZg7H3H0zac5U1zHBpUOzMNIHE0wKp2kxAzX0hvHc961WFWgpvq+BqmgAfUSsU9GK3DYnV3mPX70PRDZF2Cc+6ZEIunAV/OG46jW2UbZls2hTQgqUpG/GSKglenjAXTi1/1AilyslE4jK2A==

# -*- 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
    
    install_exe_if_needed('typora-setup-ia32.exe',
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-',
        key='{37771A20-7167-44C0-B322-FD3E54C56156}_is1',
        min_version=control.get_software_version(),
    )




# -*- 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://download.typora.io/windows/typora-setup-ia32.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()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
71eaa2cb1217ca89471376e6952cfb03f5d094dcc90073bcdb278b8ea6910e3a : WAPT/control
ef4458f4a02b0d7c677f7b520fae2cb9c6056acceed3f8aebc1acce34fbb82f2 : WAPT/icon.png
3cd4f550774f279525d57a001fdfd03757777c5c687a94a1b23d063ffa625b77 : luti.json
eeec058a7b006a37e1511433a4b35c84345e7c7a4b7e6763e324deffc67b604d : setup.py
786247db5c9c5f18870fb7683573e0d5c55ba507cb0ee52618935f9ebab222a8 : typora-setup-ia32.exe
daad05fd13a864525280639f67d706f12bc71e4afffbb341a7887690954355d0 : update_package.py