- package: tis-markdown-edit
- name: Markdown Edit
- version: 1.35-6
- categories: Office,Utilities
- maintainer: Tranquil IT,Jimmy PELÉ
- editor: Mike Ward
- licence: MIT
- locale: all
- target_os: windows
- impacted_process: mde.exe
- architecture: all
- signature_date:
- size: 57.48 Mo
- installed_size: 255.86 Mo
- homepage : https://markdownedit.com/
- depends:
package : tis-markdown-edit
version : 1.35-6
architecture : all
section : base
priority : optional
name : Markdown Edit
categories : Office,Utilities
maintainer : 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 : 1.5
sources : https://github.com/mike-ward/Markdown-Edit/releases
installed_size : 255864832
impacted_process : mde.exe
description_fr : Markdown Edit est un éditeur de Markdown pour windows qui met l’accent sur le contenu et les raccourcis clavier.
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : Mike Ward
keywords : Markdown,editor
licence : MIT
homepage : https://markdownedit.com/
package_uuid : c0319b39-dd36-413e-a54a-7881d53dd50d
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 : srTlwWI+ykBrs8pQDk1BKl+f5daj7dd8bTJ2sQ4pwaS8OSYfFaowZN5XdSPjymxb7RthFlJMazN09ey6a34mrbitOax6sxJ7gmiKLDfA4NQjGDWbQ01vogMWwFeSapNOvq5A/PK9hw05+yb6IrLTyKxS2fvoypYGIm3kys4xgE188xxwuJcUnmN1D6JlxLMnSxIPAFUuhtH2tmKdmWg2U6E1x3oOkrkhNPsgqQzvwTFwdREGb7OZQeA2gDIFNerOuixAmBRqvMMfZz9efH2HGrAplIc3X9JoGF9YQ02mHYmjy5tDMdT56S+ZGG9XF0xrNuL5nsMEvKgAyI+okor5Wg==
signature_date : 2021-10-25T16:43:58.885505
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 *
import platform,json
uninstallkey = []
# Declaring specific app values (TO CHANGE)
bin_name = 'MarkdownEditSetup%s.msi'
bin_end = '.msi'
def install():
print('installing')
# Declaring specific app values
package_version = control['version'].split('-',1)[0]
impacted_process = control['impacted_process']
install_msi_if_needed(bin_name % package_version
,min_version=package_version
,killbefore=impacted_process)
def update_package():
print('Download/Update package content from upstream binary sources')
# Getting proxy informations from WAPT settings
proxy = {}
if platform.system()=='Windows' and isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxy = {'http':proxywapt,'https':proxywapt}
# Specific app values
app_name = control.name
url_api = 'https://api.github.com/repos/mike-ward/Markdown-Edit/releases/latest'
# Getting latest informations from Github API
json_load = json.loads(wgets(url_api,proxies=proxy))
for download in json_load['assets']:
if download['browser_download_url'].endswith(bin_end):
url_dl = download['browser_download_url']
break
version = (json_load['tag_name']).replace('v','')
latest_bin = bin_name % version
print('Latest ' + app_name + ' version is: ' + version)
print('Download url is: ' + url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print('Downloading: ' + latest_bin)
wget(url_dl,latest_bin,proxies=proxy)
# Change version of the package
pe = PackageEntry().load_control_from_wapt('.')
pe.version = '%s-%s'%(version,int(pe.version.split('-',1)[1])+1)
pe.save_control_to_wapt('.')
print('Changing version to ' + pe.version + ' in WAPT\\control')
print('Update package done. You can now build-upload your package')
else:
print('This package is already up-to-date')
# Deleting outdated binaries
for bin_in_dir in glob.glob('*.exe') or glob.glob('*.msi'):
if bin_in_dir != latest_bin :
print('Outdated binary: ' + bin_in_dir + ' Deleted')
remove_file(bin_in_dir)
d3442f953e2bc03096f7f43c54aa30f16c06f844e42861efa28181377944d00d : Jenkinsfile
234656b63192e7c5042714c557d1df9b208d0c28a2c9a8cee4a0739e144068e1 : MarkdownEditSetup1.35.msi
7990172eb224f0e9e2c040926d3144db7d106a37aeac9dd516a4e3ac6628487d : README.md
e5b595a57183dde9ac4f3298e626e364cdeff97fa980722dfcf4fee545325a43 : setup.py
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
045f15e31fd90d903b3bf8717e67fbae0d8017dc6fa1f657bc626f67bd86fc1e : WAPT/changelog.txt
d441d5c9d1bf8b1180fd4334bf95edf1bd68ca1951f4b27dfdeda9ae47a4ff7d : WAPT/icon.png
ff39217b827c79951c274c6ce028d6f0b8d602ce183fe3b465df3dd3c0e17a3e : 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)