tis-marktext icon

Marktext

Paquet d'installation silencieuse pour Marktext

0.19.1-0
Office
Office

  • 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: debian_based
  • impacted_process: MarkText
  • architecture: x64
  • signature_date:
  • size: 103.36 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          : PROD
locale            : all
target_os         : debian_based
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      : 93a17884-f6b0-489c-86a5-76384a968670
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ab4bca56acd317eecf8130ec445c383b6d4122df1c68a820d1ca86f34f3d3499
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-06-11T08:07:20.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         : UVzwC13PCYj14Ak2/QfQId5pLaZwP5yJJBMJ3dEH3Rw5W09Ebr6VWmIkpRXehAtv4s5UcZU1bqPCy/e+hmEFzFRBXfEI9dtryrhN9SyZBmb0qALgQcE/2m+BwB8Rdz4LgFG/AYidLnBX5YHHwo39ovrtnBiBQvWoWDhDxpyolS+8zKYGtFESKK2XwbQu1uwBUYBKyl7hx6lz3Z0X8Z7UC/Hweps3uisc1SEbv6CwQqNJuPkAG0/o9QHF40ysR0VcnCalOnJuEW4Km3bkqxGrj6x6mWrIorvXSGC3JjDkECnosJYpVfuHRmJ3cOJYWPmwGYtWTi464pdf+Kp1Me5Z2w==

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


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

    install_deb(bin_name)

def uninstall():
    uninstall_apt('marktext')

# -*- 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 download["name"].endswith('.deb'):
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    print("Downloading: %s" % latest_bin)
    wget(url_dl, latest_bin, proxies=proxies)

    # 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

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dad77c65b9b4062db10cd48e51c2eb6ffab896f3728ea69f170ea9f20e2ebcea : WAPT/control
ab4bca56acd317eecf8130ec445c383b6d4122df1c68a820d1ca86f34f3d3499 : WAPT/icon.png
683c508b9f575c4c2d7483c4159767d61ef314edfe327b961de569dbeb1f8eab : luti.json
e0eaa1967d6cd82e6f96a44766886c79b122a961709b1f1d26c1276b046c84d1 : marktext-linux-0.19.1.deb
5fed05df9e7c411a57ed8bf3bec229bc6f640a85bd9b185cd5225872f9956f0d : setup.py
95294effb9ecda72047e4b092def45ff4c59d1d768e9fe10d3515aebb2699910 : update_package.py