tis-typora icon

Typora

Silent install package for Typora

1.12.2-1
Office
Office

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.

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

package           : tis-typora
version           : 1.12.2-1
architecture      : x86
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          : PREPROD
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      : 24a899cb-b4dd-413a-bb1a-80bfc30fce53
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : ef4458f4a02b0d7c677f7b520fae2cb9c6056acceed3f8aebc1acce34fbb82f2
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-11-03T14:37:42.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         : HeF9HREGobm9mjRSG8jjq4kGDhU2rCqgVA360+N+r7iR4Yrf/bGNXH2rDKyx32NYveYJKgoz1iacLlb5By1QMRdPZSpSmYlmW3eu7qZX/yumGLYgKPLNaYNTuaWA8iGTMt5F4XUfPxcvJTPy2aY+eHjQEtKIcTNsdyrlGNZZslkJwhzgBMpeMcR+CM3lWewfVbbjEjZ6UiHhgIdZPnZ7R6af8wcd4XI9WDSsLxW6vlqzdLXX/6oCD5kOO946dJgCjzvvjUpmynAUmS3B63G0ZFOWgqqrtjJLJnaFmcOuKWpgo0pcNy5A1qWk7ttTZaRIvkkegIU5GX/lWJBpH98qig==

# -*- 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
    
    # Uninstalling older version of the software that can remains
    for to_uninstall in installed_softwares(name="Typora"):
      if Version(to_uninstall["version"]) < Version(control.get_software_version()):
        print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
        killalltasks(ensure_list(control.impacted_process))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

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

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
b41203aafffb8c8325c5467c88146539d93f23bb15429918a18602818ce5fd56 : WAPT/control
ef4458f4a02b0d7c677f7b520fae2cb9c6056acceed3f8aebc1acce34fbb82f2 : WAPT/icon.png
9ae5a6f91c53e01325e5a2e0df564218b5102ec535aaea528a1859c76b23d42e : luti.json
cfba2d030348f006b4714addf1c1a3fefc045d93833c63fb672b5385374d3ced : setup.py
dc857c51470c77f76d450fc0d8ca870e4c8c7877a19cc647a4deae5b9dfb7e5f : typora-setup-ia32.exe
daad05fd13a864525280639f67d706f12bc71e4afffbb341a7887690954355d0 : update_package.py