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: x64
  • signature_date:
  • size: 98.03 Mo
  • homepage : https://typora.io/

package           : tis-typora
version           : 1.12.4-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          : 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      : 4f3b3230-f0dd-41b7-9770-9366bdf95a99
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:48:55.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         : q/5EKd+8bdZMuGt0aQYmL5L0aqEpXcT2s5Tmxw/Tm+OveyMv1IYYFeCBde+Dxd9n4Dkxcu91Rc37fvKcLg4wSCCO3nQj2lE9iP/JCGvQtGE9thM+QkGSs479i95yUsKoYe0CltZmtPQCFrZ9fb2dQSFiTMVJUZGyA9LEuoomv1nbOnOOltLdqa3wi2U7f9ML6k5R07gaSzGge2n6w+rNh75R0bKpQUruq/lmqbc5JKQ8K85P8RS0G/OyFDYnLn6Ynllk7GJM7YY5d1q8TBzsVqPwUxZfXJcLK2LHv+newx17AX+Q5YKdlFuB9RLemR1N0f74sYGNw9yc7WEOl5orjg==

# -*- 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
    # Uninstalling older version of the software that can remains
    for to_uninstall in installed_softwares("{37771A20-7167-44C0-B322-FD3E54C56156}_is1"):
        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"])

    # Installing the software
    
    install_exe_if_needed('typora-setup-x64.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-x64.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
673578ebae1bccc95f4238f44c1f32280240548c3da92d84629541e8f008393e : WAPT/control
ef4458f4a02b0d7c677f7b520fae2cb9c6056acceed3f8aebc1acce34fbb82f2 : WAPT/icon.png
d4cf100a5763bba404d4ffd2a967074f69161e998fb14e841c5489408f0362da : luti.json
30b7cbaa67c89e3024a3f3baeebaccf2d229a02286ae9f0908a989e04577aaad : setup.py
9d15be00ae51082c80cdac8b9060802d76a417c42dbefee0e42dc9fd3a7a7331 : typora-setup-x64.exe
031b92584a022bb0a4d9593d5c21eb0d19ff693b4e09c0e28cc4fb6b08525b57 : update_package.py