tis-marktext icon

Marktext

Silent install package for Marktext

0.19.1-0
Office
Office

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

  • package: tis-marktext
  • name: Marktext
  • version: 0.19.1-0
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT
  • editor: Jocs and contributors
  • licence: opensource_free,MIT,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: MarkText
  • architecture: x64
  • signature_date:
  • size: 110.84 Mo
  • installed_size: 276.00 Mo
  • homepage : https://www.marktext.cc/

package           : tis-marktext
version           : 0.19.1-0
architecture      : x64
section           : base
priority          : optional
name              : Marktext
categories        : Office
maintainer        : WAPT Team,Tranquil IT
description       : A simple and elegant open-source markdown editor that focused on speed and usability.
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/marktext/marktext
installed_size    : 276000000
impacted_process  : MarkText
description_fr    : Un éditeur open-source Markdown simple et élégant, axé sur la vitesse et la convivialité.
description_pl    : Prosty i elegancki edytor markdown open-source, który koncentruje się na szybkości i łatwości użytkowania.
description_de    : Ein einfacher und eleganter Open-Source-Markdown-Editor, der sich auf Geschwindigkeit und Benutzerfreundlichkeit konzentriert.
description_es    : Un editor Markdown de código abierto simple y elegante que se centra en la velocidad y la usabilidad.
description_pt    : Um editor markdown open-source simples e elegante, focado em velocidade e usabilidade.
description_it    : Un editor Markdown open source semplice ed elegante, incentrato su velocità e usabilità.
description_nl    : Een open-source markdown-editor die eenvoudig en elegant is, gericht op snelheid en bruikbaarheid.
description_ru    : Простой и элегантный редактор Markdown с открытым исходным кодом, ориентированный на скорость и удобство использования.
audit_schedule    : 
editor            : Jocs and contributors
keywords          : marktext,markdown,editor
licence           : opensource_free,MIT,wapt_public
homepage          : https://www.marktext.cc/
package_uuid      : f4ecb64e-b4e0-4d2d-901c-d1dba6027099
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ab4bca56acd317eecf8130ec445c383b6d4122df1c68a820d1ca86f34f3d3499
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-07-21T07:17:23.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         : aSJLnuvQ7yZlFgZZPQ5qaYuixi3UdFUuduV8A5JE1BGNWCMu7Z9M/Xi+pM7w5ZY4wctX3/VkLjrg0DxKvAJneD0TUwHKmEISFgIW66o1tTFY4MJdCcfzgxc+0a5p/CCNzdzGiTQC3bnhMl7Qk2Ah4OUSMQJUV3RzxUG435k1CARTZsxcI3QtpxAlTDhl7TYRB1loE3WdaNAU5RUGL0e6Q9gGgX/+BdAJ9yR0d0x1bxzomBkE7KtzPkAq3R6evTrkq/lSzth7k8/Jd9NhTNkqg0N3h2iSNYHU+ddBDLoyW4hV76TStvdrMmQbKMVN4sUJMzRg3fAJbGVc+7eib/2jLQ==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    # Declaring local variables
    bin_name = glob.glob("*.exe")[0]

    install_exe_if_needed(bin_name,'/S /ALLUSERS',key='80b8d59a-8e25-5f52-8f55-48f4c6ccbd23',min_version=control.get_software_version())

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()

    git_repo = "marktext/marktext"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if "win-x64" in download["name"] and download["name"].endswith('.exe') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    for f in glob.glob('.exe'):
        if get_version_from_binary(f) < version :
            remove_file(f)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Checking version from file
        version = get_version_from_binary(latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
        control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
        # control.set_software_version(Version(version))
        control.save_control_to_wapt()

    # Validating update-package-sources
    return result

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
09e688c7d47536062750f624a1e3a3bd8187023ccc689fd374214b378a73109c : WAPT/control
ab4bca56acd317eecf8130ec445c383b6d4122df1c68a820d1ca86f34f3d3499 : WAPT/icon.png
eb8c6c8847eed2692e676a34c9d464e1d168dbb567ee1dd3c42d870cf0a3cb02 : luti.json
0de6c0aa854728f3e5c21d74b4138f0a515d70cd80921eb3aed6b8e975838a2f : marktext-win-x64-0.19.1-setup.exe
6058251400fe247298005019c64a00fffe6a2b15323e007384f29dd39318226d : setup.py
4bbd6b24d1e6b7cfd9c814d2fbe7bc22357a9de1b7803e80e11639cda4a08608 : update_package.py