tis-laragon icon

tis-laragon

Silent install package for tis-laragon

8.2.0-2

  • package: tis-laragon
  • version: 8.2.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.90 Mo
  • installed_size: 988.33 Mo
  • homepage : https://laragon.org/
  • depends:

package           : tis-laragon
version           : 8.2.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      : 0d8f47fc-2e1b-43a3-9c55-72eeaf92be04
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-06-27T17:04:52.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         : XKPvU4rWnesNdLrrNqdzFlVIR44ZO2Xly2cNqY0pH8LDC4+1DTvgc928bX6R9PBSZTZ6pG5A9qBCV7E+rKGEePykcpe0P2W/8F0xBawRs3dbzX1PN+gcZhV7YcZFyqcKycCml26BYNoz4Rae2z7A8kI7X79oEj31qzq9MNa7ZvpEpwoDkoFhNQOBU7fIPZJDmZzjXeD4qS4usoaSBNhNc5Y63qSUUTJmd6dxL9M1Kt4ghenWz8tbGO7YG7W72pQCjJ4nlTzaIjc/2+UylCSCAh2H6cAoqkS+3vrhjdZZexoPKjFUIoUntzZ/U3UxFreDXORHdk+uiQx6IclzWoIGjw==

# -*- 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
e499db3e8ae6313cc86c4b7cc7671a52241a348c63d0512771ac14a42ada26e0 : WAPT/control
fd7c50b90840f307b5ed47062636bcc744129b952773e9def6a440c6b01f0296 : WAPT/icon.png
d5cefde4d842ce8c5643e7631ab9abb50a57dc53ba766c0d7a27a323423d5d07 : laragon-wamp.exe
a21c60a598f1aa6377c25f3cf9e1d5cae6f464cc97ca80b93f9a7f5f9680f253 : luti.json
a7fd6d4c0d7a34c0d9cd00d8298f97722b29c50ed0b1de770dbd4fbceea68b94 : setup.py
b24d130a9d241709c0520f80c28362de59d4d5894c520483c2133b13f6fe2a34 : update_package.py