tis-laragon icon

tis-laragon

Silent install package for tis-laragon

8.1.0-2

  • package: tis-laragon
  • version: 8.1.0-2
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: leokhoa
  • licence: opensource_free,cpe:/a:mit:x11_license,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: laragon
  • architecture: x64
  • signature_date:
  • size: 239.75 Mo
  • installed_size: 988.33 Mo
  • homepage : https://laragon.org/
  • depends:

package           : tis-laragon
version           : 8.1.0-2
architecture      : x64
section           : base
priority          : optional
name              : 
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Laragon is a universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is designed to simplify the configuration and management of local web development environments and it comes with a set of tools and services that are commonly used in web development, such as Apache, PHP and MySQL
depends           : tis-vcredist2015-2022
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 988327450
impacted_process  : laragon
description_fr    : Laragon est un environnement de développement universel pour PHP, Node.js, Python, Java, Go, Ruby. Il est conçu pour simplifier la configuration et la gestion des environnements de développement web locaux
description_pl    : Laragon to uniwersalne środowisko programistyczne dla PHP, Node.js, Python, Java, Go, Ruby. Zostało zaprojektowane w celu uproszczenia konfiguracji i zarządzania lokalnymi środowiskami programistycznymi
description_de    : Laragon ist eine universelle Entwicklungsumgebung für PHP, Node.js, Python, Java, Go und Ruby. Es wurde entwickelt, um die Konfiguration und Verwaltung von lokalen Web-Entwicklungsumgebungen zu vereinfachen
description_es    : Laragon es un entorno de desarrollo universal para PHP, Node.js, Python, Java, Go, Ruby. Está diseñado para simplificar la configuración y gestión de entornos de desarrollo web locales
description_pt    : O Laragon é um ambiente de desenvolvimento universal para PHP, Node.js, Python, Java, Go e Ruby. Foi concebido para simplificar a configuração e a gestão de ambientes de desenvolvimento Web locais
description_it    : Laragon è un ambiente di sviluppo universale per PHP, Node.js, Python, Java, Go e Ruby. È stato progettato per semplificare la configurazione e la gestione degli ambienti di sviluppo web locali
description_nl    : Laragon is een universele ontwikkelomgeving voor PHP, Node.js, Python, Java, Go, Ruby. Het is ontworpen om de configuratie en het beheer van lokale webontwikkelomgevingen te vereenvoudigen
description_ru    : Laragon - это универсальная среда разработки для PHP, Node.js, Python, Java, Go, Ruby. Она предназначена для упрощения настройки и управления локальными средами веб-разработки
audit_schedule    : 
editor            : leokhoa
keywords          : development,environment,web
licence           : opensource_free,cpe:/a:mit:x11_license,wapt_public
homepage          : https://laragon.org/
package_uuid      : 0147a164-81a6-406d-8602-12b658ff5c30
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/leokhoa/laragon/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : fd7c50b90840f307b5ed47062636bcc744129b952773e9def6a440c6b01f0296
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-23T10:11:57.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         : CM+tu92nKWLIaxgqfk90EdYa94D+4RNyKUOCSuLPPQLbl0xMhz01K5bnXI8DiMT/+VdanJixdA8Td1Xjd/wwx6ODy2eCQRTjiJ5OfjZQmWKt2kEmzERR4+8uIB5KuiduJcc61BBSERh9aLlKsliSgEe8JgHDhSwoAVts1OFxDu8gg4iZre8uAr1Z75iUjW99k7Asu5mwVAlN0s15+CYczDzuYZHN3hvNFd/puFIMIXznKNsBbAHjuiP+DcEovPCoADIUCuibPgRbouQ/zSVhiMCBmmwX+Rf4UmOnKoN0X7ctH94DCBBtJ8raMHJ78kEI2I28uNo50Zmk7GBBpZX9JQ==

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


def install():
    for to_uninstall in installed_softwares("Laragon_is1"):
        version = to_uninstall["version"]
        if Version(version, 4) < Version(control.get_software_version(), 4) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], version))
            killalltasks(ensure_list(control.impacted_process))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    bin_name = glob.glob("laragon-wamp.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/allusers /VERYSILENT",
        key="Laragon_is1",
        get_version=get_version,
        min_version=control.get_software_version(),
    )


def get_version(app_registry_dict):
    return app_registry_dict["version"].rsplit(".", 1)[0]

# -*- 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()
    update_dict = {"windows": ".exe"}
    api_url = "https://api.github.com/repos/leokhoa/laragon/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    # version = json_loads["tag_name"].replace("v", "").replace(".windows", "")
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].split(" ")[1]
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    version = get_version_from_binary(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
8c2371a1c1cb76a165974b6b59545f0f1ad4d28faf5eabb8ea3993d68d66afeb : WAPT/control
fd7c50b90840f307b5ed47062636bcc744129b952773e9def6a440c6b01f0296 : WAPT/icon.png
3c3a57f4a53fedb0f83d7a4b365d1172aad6429ab94e964b65f3f48e191bb230 : laragon-wamp.exe
8829439852fa094d7ce75cf2bec504ff6db1cabf27ddf3f8f32b52c57388f07a : luti.json
a7fd6d4c0d7a34c0d9cd00d8298f97722b29c50ed0b1de770dbd4fbceea68b94 : setup.py
b24d130a9d241709c0520f80c28362de59d4d5894c520483c2133b13f6fe2a34 : update_package.py