tis-typora icon

Typora

Silent install package for Typora

1.12.4-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.4-1
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: proprietary_restricted,wapt_private
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 92.54 Mo
  • homepage : https://typora.io/

package           : tis-typora
version           : 1.12.4-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      : ba3c98e7-b9e8-4462-93d0-5665abf7fb59
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-19T11:38:10.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         : Ii5XFeQmv3icSyVsmeRFALL0UqBtfgK14Pc1dm5rb9YdTfNoFwA8f2WBL0D9uD/bw4Tk5J8JWlk2lObcIl6frCCwVBviCoFoBEPUXz2TwvoA/jhKMuK5YQenzeN2cmye2YNm+DO6jAaqZsU4oB3okFp6H7oejsD+QC46Ay0p79eNdpdjbxyKk5j40WGi+7QrsTgqqoOBKYaNhRuOwDM6v+WucbLpebenCNcxy3uwgW9dmHPOE8Ny0Rtf1taAUEGcJx1+EE6m9Gt9G/NEpwJ8NA7A6DLxEgLoxx3Xd/P5nLSAg1WXlo61StPswT/s2P0PnIn4BIXdamryz4kNXdPKPw==

# -*- 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
99f93f6363000f7e2d6d4086323a7a4e1fd4a30dce256b9162d5c2ab23001dcd : WAPT/control
ef4458f4a02b0d7c677f7b520fae2cb9c6056acceed3f8aebc1acce34fbb82f2 : WAPT/icon.png
9faf5b4a2ff1656d7e2935f190c5e06fa11fb966f239f73d0303c5a8e6647e9e : luti.json
cfba2d030348f006b4714addf1c1a3fefc045d93833c63fb672b5385374d3ced : setup.py
c3aef17e12b3ed990b87546795d6f332bb8012ff5880d0d3415e92b857821517 : typora-setup-ia32.exe
daad05fd13a864525280639f67d706f12bc71e4afffbb341a7887690954355d0 : update_package.py