tis-rocketchat icon

Rocket.Chat

Paquet d’installation silencieuse pour Rocket.Chat

4.10.0-17
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-rocketchat
  • name: Rocket.Chat
  • version: 4.10.0-17
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Team Rocket.Chat
  • licence: MIT
  • locale: all
  • target_os: windows
  • impacted_process: Rocket.Chat
  • architecture: x86
  • signature_date:
  • size: 298.16 Mo
  • homepage : https://rocket.chat/

package           : tis-rocketchat
version           : 4.10.0-17
architecture      : x86
section           : base
priority          : optional
name              : Rocket.Chat
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Rocket.Chat permit to communicate and collaborate with your team, share files, chat in real time or switch to video/audio conferencing
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/RocketChat/Rocket.Chat/releases
installed_size    : 
impacted_process  : Rocket.Chat
description_fr    : Rocket.Chat permet de communiquer et collaborer avec votre équipe, partager des fichiers, chatter en temps réel ou passer en conférence audio/vidéo
description_pl    : Rocket
description_de    : Rocket
description_es    : Rocket
description_pt    : Rocket
description_it    : Rocket.Chat permette di comunicare e collaborare con il team, condividere file, chattare in tempo reale o passare a videoconferenze/audioconferenze
description_nl    : Rocket
description_ru    : Rocket
audit_schedule    : 
editor            : Team Rocket.Chat
keywords          : chat,messaging,rocketchat,rocket,communicate,collaborate,share,team,file,conferencing
licence           : MIT
homepage          : https://rocket.chat/
package_uuid      : 17e846b3-9279-4169-8b40-c1d7689ee298
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/RocketChat/Rocket.Chat.Electron/releases/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-05T15:33:04.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         : VsQKbEYweo3Js01YXP2r1fq3AuERTmBap6WJyOgsoqzLXuWM9mc3++G7JcJdu1Eb/YlrStzDDfBU2W18aHcynzSfnbgi/5KNrqcHY4NNo7Fr0ZDeLxyzF0++s9A24fnjgSeujyskEFn9UNo4W2BZ8rE/aj1fw8twGSoamnRqqiazvwdn5yVhJkhz04fl/Uqb3jmX7VoMTf5rHfxppJALszxZ81Whzp+QtdenvlJE0BiUaWb7MTO4Gy+AllwycEJOLBeEwWUMTTvunUY6XgjLcc1pZDcBkgZ4+LDfKe2hM8ffAIG3XTP2bcrd2iWmPwDq19pZn72VqiI8TOSYPCrnFg==

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


# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
silentflags = "/S /allusers /disableAutoUpdates"


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

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags=silentflags,
        key="9b73a9fb-f1d5-59ee-b41e-e1dd393a748a",
        min_version=package_version,
    )

    if params.get("remove_desktop_shortcut"):
        remove_desktop_shortcut(control.name)


def session_setup():
    # Declaring local variables
    user_config_json = "config.json"
    user_config_dir = makepath(user_appdata, "Rocket.Chat")
    user_config_json_path = makepath(user_config_dir, user_config_json)
    user_config_json_content = json.loads(
        '{"doCheckForUpdatesOnStartup": false,"isEachUpdatesSettingConfigurable": false,"isUpdatingEnabled": false,"isTrayIconEnabled": true}'
    )

    # Writting configuration file
    print("Disabling: auto-update-check")
    if not isdir(user_config_dir):
        mkdirs(user_config_dir)
    if isfile(user_config_json_path):
        data = json_load_file(user_config_json_path)
        data.update(user_config_json_content)
    else:
        data = user_config_json_content
    json_write_file(user_config_json_path, data)

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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/RocketChat/Rocket.Chat.Electron/releases/latest"

    # 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 download["name"].endswith("-win.exe") and not "x64" in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"]
            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)

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

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) and version_from_file != "":
            print("Changing version to the version number of the binary")
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # 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()

    # Validating update-package-sources
    return result

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
31abf13f4f4070d21be6631439dc13b2b8a4723c7f76408cdc386c4655131cb7 : WAPT/control
b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21 : WAPT/icon.png
a7d339387942aaaff3e4dde7a2c0e32d8d8e4d1bb5185ae9f2be75b4c17d89e7 : luti.json
f4d4258c5fecaa2377091c6fa2217185b54ce74d9d1b3185269262d3b4853049 : rocketchat-4.10.0-win.exe
ef93ea67cce4076fc57a4bf12ed7359db4e79274abe677c17204bd6d879c81d2 : setup.py
6111af46e2332805362b49403cec49c22d928c87c8390666a3fb81a2d003e7cd : update_package.py