
Lite XL
Silent install package for Lite XL
2.1.7-1
- package: tis-lite-xl
- name: Lite XL
- version: 2.1.7-1
- maintainer: Amel FRADJ
- licence: Licence MIT
- target_os: windows
- architecture: x64
- signature_date:
- size: 2.81 Mo
- homepage : lite-xl.com
package : tis-lite-xl
version : 2.1.7-1
architecture : x64
section : base
priority : optional
name : Lite XL
categories :
maintainer : Amel FRADJ
description : A lightweight text editor written in Lua, adapted from Lite
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Un éditeur de texte léger écrit en Lua, adapté de Lite
description_pl : Lekki edytor tekstu napisany w języku Lua, zaadaptowany z Lite
description_de : Ein schlanker Texteditor, der in Lua geschrieben ist, angepasst an Lite
description_es : Un editor de texto ligero escrito en Lua, adaptado de Lite
description_pt : Um editor de texto leve escrito em Lua, adaptado do Lite
description_it : Un editor di testo leggero scritto in Lua, adattato da Lite
description_nl : Een lichtgewicht teksteditor geschreven in Lua, aangepast van Lite
description_ru : Легкий текстовый редактор, написанный на языке Lua, адаптированный из Lite
audit_schedule :
editor :
keywords :
licence : Licence MIT
homepage : lite-xl.com
package_uuid : ce630f26-a9e0-4146-a0af-b20861ed9437
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : d0083578dbb1635f229a071177afbd50e2cfdf964657aca75fdf3411ae8ba191
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-12-10T16:00:08.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 : TzQjbbnnLfbqRptVhF3bDDM0IZu3jc3u0RQC4IoqX6CCgF83tf5fXiusxRJdDbsYUP9S0S0CHCOmkOchbeGZQXv2geqRIv1Gk4LRwvNFhXL9QyuqN/SY84mYbprEiShlWI8srEFNZ++Po2xQSV3Weef6rdV7Q0zPi/KzhZ0QroKJajH4wo1f412pMN5h5tObHd0os0GCI127ZOCembu2bluQ7AZ8vaI6lpjofyYuEEgNthBNPg2vroBNz7B9g3Wo5m/+/ilTgYkatnc1tFuwDu9e50uSuF9kbdHptXsrFUpM8xt7GlSbvH3RJrfjB7ZtH4EbwG4LzMabeHunCVCzYg==
# -*- 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
bin_name = glob.glob('LiteXL-*-x86_64-setup.exe')[0]
# Installing the software
install_exe_if_needed(bin_name,
silentflags='/VERYSILENT /allusers',
key='{06761240-D97C-43DE-B9ED-C15F765A2D65}_is1',
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
dict_arch = {
"x64" :"x86_64-setup.exe"
}
git_repo = "lite-xl/lite-xl"
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["browser_download_url"].endswith(".exe") and dict_arch[control.architecture] in download["browser_download_url"]:
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v","")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl, filename, proxies=proxies)
# nettoyer les fichiers temporaires
for f in glob.glob("*.exe"):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
ee1bfe79d8df0e34f4810a8764cffcd61d1e325e23b4b041b12d0a1a6bee2ba5 : LiteXL-v2.1.7-addons-x86_64-setup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
13dbed565fc49e6e6d95e732482730566ac3262f695cf00dafb0abd3047c83ab : WAPT/control
d0083578dbb1635f229a071177afbd50e2cfdf964657aca75fdf3411ae8ba191 : WAPT/icon.png
4055535bb2a8c879c929875aaa62e80851bdbc840b59ddc2913ca2f80877f973 : luti.json
197440455f3b3c24938b1e8034b8fc7f689cbac3703cca02ff03cc6aede1f9bf : setup.py
2afe08e4e96337aec7e28f8099dd1092af245bf6a4e2321c910491cd3d8e7b65 : update_package.py