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: arm
  • signature_date:
  • size: 105.61 Mo
  • homepage : https://rocket.chat/

package           : tis-rocketchat
version           : 4.10.0-17
architecture      : arm
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      : e2019f09-9953-461c-b3aa-0288df772d2e
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:36:30.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         : G2sb6oVYQ5WtqQpimJcoUs0v9+BuIxeCmnA5Bbao7APaf4t1EWV3byLZhrMIaM8NgjCLVSxXcklsYo3VS5+VxDRfaxjv/9MqS3dlmbCChPaxWoGbP1+vLbGMUbs1b6SSAGAkfIOWAD4zeBWmF50cB0LeKeyor49Cb3BcRP/ZtPCVhtvy2eQulsvq4wl6APkfLcypejrAwmS/o6wtA8NB+DwCQlGRM1SyuNulDv3s/MIhStjJCcNFcXP4HI9elLZJhbQ8rYbNfGOipCFnkCFG+DT8XoTlXtY2jeU90TEJJ2YCJ9kKLA5yF9Af5dsEDiS7Jd/UxuHfXAExWKIEDhScIA==

# -*- 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"
app_uninstallkey = "9b73a9fb-f1d5-59ee-b41e-e1dd393a748a"


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=app_uninstallkey,
        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("arm64.exe"):
            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
0ffa56fa5c973915625722b072f7d73a28b850da74a8a5ea722e4e4be4145c49 : WAPT/control
b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21 : WAPT/icon.png
1f5e32ea0a82cd8320712c85c9277be5aa59a102cc3b1f2a922169d53701eb24 : luti.json
eaa9ed9ef9d601c5149ffee44f59b44bc9c227bd392e30391d560b47d3ce5dee : rocketchat-4.10.0-win-arm64.exe
4fac9fd2b5166d7ea6a237be3f336ceb5cf2416091e906c883ff048bebc1b237 : setup.py
b2badb81aff0e40d0d59c2fbba2a8de47f398ecb871a534265c44805cba9c4b8 : update_package.py