tis-lepton icon

lepton

Paquet d’installation silencieuse pour lepton

1.10.0-1

  • package: tis-lepton
  • name: lepton
  • version: 1.10.0-1
  • maintainer: Amel FRADJ
  • licence: MIT, Unknown licenses found
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 141.37 Mo
  • homepage : https://hackjutsu.com/Lepton

package           : tis-lepton
version           : 1.10.0-1
architecture      : x64
section           : base
priority          : optional
name              : lepton
categories        : 
maintainer        : Amel FRADJ
description       : Democratizing Snippet Management
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Démocratiser la gestion des snippets
description_pl    : Demokratyzacja zarządzania fragmentami kodu
description_de    : Demokratisierung der Snippet-Verwaltung
description_es    : Democratizar la gestión de fragmentos
description_pt    : Democratizar a gestão de snippets
description_it    : Democratizzazione della gestione degli snippet
description_nl    : Snippermanagement democratiseren
description_ru    : Демократизация управления сниппетами
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT, Unknown licenses found
homepage          : https://hackjutsu.com/Lepton
package_uuid      : 6e681799-0e08-4804-b88a-514adde1a91d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : f573d913639940d70039bf93b50e1dc3b054d9a86e94bc448d6eb6df23bc5af7
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : IRlNcX4ZVh5UNMGBfcviAvV45f7UhtamTZ092iVzWmZTf5JBkheVX24B5bF20XeiF6yMDdt1hTfziXREdbkJuIUXivOArslNzF4IgKD8ein+A1R9AV7e1YXYX1frPM+3DflnlOX5LBK0fZvQSf/H546N64ClTqfmpv1GSQJccyib8lKQGP8omcfdosQ2fewtIyf9V9hiWULdHeCLoZTvtzk0pwdzwrNQ1jQVZyS0zX1sBtpoStr16lkj4SYiBhZ31uIJuuW4vaM9UusyRpS3mKkJ8p4k3/J8ifFckbthqYX9ZCYTrvWIFH67kEfofbRkiTKQqvh12NjWp/97Hzs95w==
signature_date    : 2024-07-08T11:00:10.297509
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 *

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('Lepton-Setup-*.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/S /allusers',
        key='a7970fb5-a49d-559e-baad-32bc45e8c8f3',
        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 = "hackjutsu/Lepton"
    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'):
            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)
    version = get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

071003d7d3ea9d0da1156c15f6a305fa765c877f11d6d7df26f1da9afdf71248 : setup.py
1e3b818891dbbcc58bc96e6219a697ed02f29aabeeb082e5c17a0d98eddc5a0a : update_package.py
f226a2ac9178a2c663b5f28ffba010de84af9a7ddf888b15920972c8593f982d : Lepton-Setup-1.10.0.exe
f573d913639940d70039bf93b50e1dc3b054d9a86e94bc448d6eb6df23bc5af7 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
cd2db404983bdb1becc647ec075b3ed6601b3d6542733203c5bcf923615b5b25 : luti.json
2a07200e8975877e10fcfea12fda0c980278ec912754baa6dc34fe537c2bef95 : WAPT/control