tis-mattermost-desktop icon

Mattermost

Paquet d’installation silencieuse pour Mattermost

5.13.2-21
Messaging
Messaging

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-mattermost-desktop
  • name: Mattermost
  • version: 5.13.2-21
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Kevin Guerineau,Simon Fonteneau,Gaëtan SEGAT,Jimmy PELÉ
  • editor: Mattermost
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: Mattermost
  • architecture: x64
  • signature_date:
  • size: 102.29 Mo
  • installed_size: 274.96 Mo
  • homepage : https://mattermost.com

package           : tis-mattermost-desktop
version           : 5.13.2-21
architecture      : x64
section           : base
priority          : optional
name              : Mattermost
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Kevin Guerineau,Simon Fonteneau,Gaëtan SEGAT,Jimmy PELÉ
description       : The most important is an open source instant chat service in self-hosting. It is designed as an internal chat for organizations and businesses, and is presented as an alternative to Slack
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/mattermost/desktop/releases
installed_size    : 274963484
impacted_process  : Mattermost
description_fr    : Mattermost est un service de discussion instantanée open source en auto-hébergement. Il est conçu comme un chat interne pour les organisations et les entreprises, et il est présenté comme une alternative à Slack
description_pl    : Najważniejszym z nich jest usługa open source instant chat w self-hostingu. Został zaprojektowany jako wewnętrzny czat dla organizacji i firm, i jest przedstawiany jako alternatywa dla Slacka
description_de    : Der wichtigste ist ein Open-Source-Sofort-Chat-Dienst, der selbst gehostet wird. Er ist als interner Chat für Organisationen und Unternehmen konzipiert und wird als Alternative zu Slack vorgestellt
description_es    : El más importante es un servicio de chat instantáneo de código abierto en autoalojamiento. Está diseñado como un chat interno para organizaciones y empresas, y se presenta como una alternativa a Slack
description_pt    : O mais importante é um serviço de chat instantâneo de código aberto em auto-hospedagem. É concebido como um chat interno para organizações e empresas, e é apresentado como uma alternativa ao Slack
description_it    : Il più importante è un servizio di chat istantanea open source in self-hosting. È stato progettato come chat interna per organizzazioni e aziende e si presenta come un alternativa a Slack
description_nl    : De belangrijkste is een open source instant chat dienst in zelf-hosting. Het is ontworpen als een interne chat voor organisaties en bedrijven, en wordt gepresenteerd als een alternatief voor Slack
description_ru    : Наиболее важной является служба мгновенного чата с открытым исходным кодом на хостинге. Он разработан как внутренний чат для организаций и предприятий и представлен как альтернатива Slack
audit_schedule    : 
editor            : Mattermost
keywords          : 
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_public
homepage          : https://mattermost.com
package_uuid      : 800e91bb-6911-4a7d-9713-5206d1a08e37
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 5.1
max_os_version    : 
icon_sha256sum    : 4307a126541db80e738ed7d47f927fa749dcc2a87b03decb54dfacb32a8e0bc6
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-15T23:59:33.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         : mse731gCYystHWvPotov4sls8rkwNCurylmg5pi1qErgm104mWuLKM3OhRAHqnYIZrFZtB9nTDxuazy0sVI3zamyDyrH8dk3uu5dasQN1WozTL5PJBKgHnp+fAD8bufx7JDtFNrXu+ZMy/rKXaEuiJXQXpY6myOsau4Oe6BqElTr0CxnFapw7S5CpXLlC9aG2tmb8/pgTallxt2fIMe60llebi5gY035g6hxPAVxFJ31Wly7+dkrN7zzh6+JSJBe5Di9RislnUdmVTgyCPR81MLQ9qVQxmXooLHBo1UURhkdyDTl+Vs3q9fEK4dnAugvQjnkvXxbBVLxGFJEXoJfwA==

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
config_dir = makepath(programfiles, "Mattermost", "config")
bin_contains = "mattermost-desktop"
install_appdata = makepath(user_local_appdata(), "Programs", "mattermost-desktop")

def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.msi" % bin_contains)[0]

    for soft in installed_softwares("Mattermost"):
        if not isfile(makepath(programfiles(),"mattermost-desktop","Mattermost.exe")):
            killalltasks("Mattermost.exe")
            if uninstall_key_exists(soft['key']):
                run(uninstall_cmd(soft['key']))

    install_msi_if_needed(bin_name, min_version=package_version,properties={"ALLUSERS":1,"DISABLEAUOTUPDATE":1} )

    mkdirs(config_dir)
    if isfile("config.json"):
        filecopyto("config.json", config_dir)

    remove_desktop_shortcut("Mattermost")


def session_setup():
    # Declaring local variables


    # Copy Config
    if isfile(makepath(config_dir, "config.json")):
        config_user = makepath(user_appdata, "Mattermost")
        mkdirs(config_user)
        filecopyto(makepath(config_dir, "config.json"), config_user)

    # Remove AppData Installation
    if isdir(install_appdata):
        killalltasks("Mattermost.exe")
        try:
            cmd_uninstall_appdata = '"' + makepath(install_appdata, 'Uninstall Mattermost.exe" /currentuser /S')
            run(cmd_uninstall_appdata)
        except:
            print("Not installed in this User AppData, cleaning")
        remove_tree(install_appdata)

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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    bin_end = ".msi"
    bin_contains = "mattermost-desktop"

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/mattermost/desktop/releases/latest"
    if control.architecture == "x64":
        arch_contains = "x64%s" % bin_end
    else:
        arch_contains = "x86%s" % bin_end
    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if bin_contains in download["name"] and arch_contains in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

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

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
7fce3602d9967f275d354d3df288563f8a0ff1cebdcb77778e4f9f88a23b6a25 : WAPT/changelog.txt
2d02f2406ac7d263e93a88729c7f90e54b46664378fce2fda03f6a678ffc51b4 : WAPT/control
4307a126541db80e738ed7d47f927fa749dcc2a87b03decb54dfacb32a8e0bc6 : WAPT/icon.png
52ecdfd4d4db54ecafe720aaa5782d57c2faf0d9e4ed058a86ec06660f417868 : luti.json
d3c7f8a92bc5d7651fe2352a1644cdf4937e521170089fdd39fb8bd513bc56bc : mattermost-desktop-5.13.2-win-x64.msi
1b197221c42b68a6d79f2122d066a110789041ccc2f4b6dfd6d06dea8a0c5b6b : setup.py
3f34e6273568ed69d0cfdc29969d7f683f893c20df480fa37f7c845b423037da : update_package.py

5.5.1-2
===
now uninstall user installation


5.1.1-1
===
improve conce
slipt update package