- package: tis-markdown-edit
- name: Markdown Edit
- version: 1.35.0-6
- categories: Office,Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: Mike Ward
- licence: MIT
- locale: all
- target_os: windows
- impacted_process: mde
- architecture: all
- signature_date:
- size: 57.49 Mo
- installed_size: 255.86 Mo
- homepage : https://markdownedit.com/
- depends:
package : tis-markdown-edit
version : 1.35.0-6
architecture : all
section : base
priority : optional
name : Markdown Edit
categories : Office,Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : Markdown Edit is a Windows desktop Markdown editor with an emphasis on content and keyboard shortcuts.
depends : tis-dotnetfx
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://github.com/mike-ward/Markdown-Edit/releases
installed_size : 255864832
impacted_process : mde
description_fr : Markdown Edit est un éditeur de Markdown pour windows qui met l’accent sur le contenu et les raccourcis clavier.
description_pl : Markdown Edit to desktopowy edytor Markdown dla systemu Windows z naciskiem na zawartość i skróty klawiaturowe
description_de : Markdown Edit ist ein Windows-Desktop-Editor für Markdown mit Schwerpunkt auf Inhalt und Tastaturkürzeln
description_es : Markdown Edit es un editor Markdown de escritorio de Windows con énfasis en el contenido y los atajos de teclado
description_pt : Markdown Edit é um editor Markdown do ambiente de trabalho do Windows com ênfase no conteúdo e atalhos de teclado
description_it : Markdown Edit è un editor Markdown per desktop di Windows che pone l’accento sul contenuto e sulle scorciatoie da tastiera
description_nl : Markdown Edit is een Windows desktop Markdown editor met de nadruk op inhoud en sneltoetsen
description_ru : Markdown Edit - это настольный редактор Markdown для Windows с акцентом на содержание и сочетания клавиш
audit_schedule :
editor : Mike Ward
keywords : Markdown,editor
licence : MIT
homepage : https://markdownedit.com/
package_uuid : b7202ac1-4a9d-4a5a-a0d3-d825bff0e3a6
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 6.1
max_os_version :
icon_sha256sum : d441d5c9d1bf8b1180fd4334bf95edf1bd68ca1951f4b27dfdeda9ae47a4ff7d
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : fA3tPJDScgHj0sXzkOojUCCk4IeiCuFO2YUapS8YN4WFTY396VrkS05afh/NDXojxeHaZNxAeUjxCipv0ptOIwogWVcFUjsvX1g3U6cqzvhhw15C1Y/OVxbqNNQ8hdic1ekL6TvjbJBL81B3XLSRXIAfcBs4RtBoXxtCOQ+7J6etdgodvZOPuuJcHCJLDweVpsxib2KeM2ReJph6hkG+rJkZqawITdcCk6wpueZgge7R+IKF8MEAYag57DyQSKwHJvJe4ncS7S8izOD7Nn61XAuAhxwjpA5wRO9t14OA059dlA9QFq5COhy9M7ELxfbAJ4YTEfEmuugw6zGCBzs25A==
signature_date : 2023-08-26T18:02:11.963645
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
# -*- coding: utf-8 -*-
from setuphelpers import *
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "MarkdownEditSetup"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("%s*.msi" % bin_contains)[0]
# Installing the software
print("Installing: %s" % bin_name)
install_msi_if_needed(bin_name, min_version=package_version)
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform, json
def update_package():
# Declaring local variables
bin_contains = "MarkdownEditSetup"
result = False
proxies = get_proxies()
bin_ends = ".msi"
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
api_url = "https://api.github.com/repos/mike-ward/Markdown-Edit/releases/latest"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for download in json_load["assets"]:
if bin_contains in download["name"]:
download_url = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
version = version_from_file
else:
print("Binary file version corresponds to online version")
# 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
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
1b6b7467f374bcb0182b1003f235867c637acd9919b9e0b745aa406ee4b7e6cc : setup.py
84ba6a18912c7fd3bf243c73277b634197fe71e4646e31abc421103293dff54b : update_package.py
d441d5c9d1bf8b1180fd4334bf95edf1bd68ca1951f4b27dfdeda9ae47a4ff7d : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
632e8f255c21092ba768c570aede122b12ee83c6bdfea4aaf0735e9e4efe2d81 : WAPT/changelog.txt
a3cc8445f4b69f2963afb6034491bade320b181f0352df01571920c4b369e6df : luti.json
234656b63192e7c5042714c557d1df9b208d0c28a2c9a8cee4a0739e144068e1 : MarkdownEditSetup1.35.0.msi
a7547308ade541b9a606626d3707a41b66c6844eeeddb24f22862deefb7635f7 : WAPT/control
Release 1.35
@mike-ward mike-ward released this on 6 Oct 2018 · 7 commits to master since this release
Remove TOC code from default template due to script errors. (#258)
1.35.0-6
===
Improve code
Split update package