tis-rocketchat icon

Rocket.Chat

Paquet d’installation silencieuse pour Rocket.Chat

4.8.0-18

  • package: tis-rocketchat
  • name: Rocket.Chat
  • version: 4.8.0-18
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Team Rocket.Chat
  • licence: MIT
  • locale: all
  • target_os: darwin
  • impacted_process: Rocket.Chat
  • architecture: all
  • signature_date:
  • size: 216.41 Mo
  • homepage : https://rocket.chat/

package           : tis-rocketchat
version           : 4.8.0-18
architecture      : all
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          : PROD
locale            : all
target_os         : darwin
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      : 8f0e8830-4236-47c4-99fc-b123994914ba
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            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-05T02:01:55.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         : Bf0+kZyMRNouFULx28vJqafe47cqDFsouwDd7dcq2EEfTjlaDvhOY84AV+cylz0Si5jl7j2TPnpZ4rAZ7OPoyIoCXqutk9ls3nChb4Tl8JALkTmFlMD1fzgTyejaRx/Vbhrf4tZ+TinbyEHEfvIhZY5lrgTkjx27iGMaax++cBETB4I8pN0gayprrY3ZB8byjPNJ48R0fipN/mXC1HLVi7opuL+ZPmhiQBs30kCF0nLv0speSWLPAwTn1EdzpqQ1E7Mi+1VDhkELtZuWqJNhlSwxf8MG8QtH5cRcjy2NJ9mY4zZHzpUbCbCZQHeE4N8IYfF5/5NzGhYRy97G2cdDlg==

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


def install():
    install_dmg(glob.glob("*.dmg")[0])


def uninstall():
    shutil.rmtree("/Applications/Rocket.Chat.app")

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


def update_package():
    print("Update package content from upstream binary sources")
    from waptpackage import PackageEntry
    import json

    app_name = control.name
    url = control.sources

    # Get Proxy informations from WAPT settings
    proxies = {}
    if isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxies = {"http": proxywapt, "https": proxywapt}

    binaryfile, url_dl = [
        (str(p["name"]), str(p["browser_download_url"]))
        for p in json.loads(wgets("https://api.github.com/repos/RocketChat/Rocket.Chat.Electron/releases/latest", proxies=proxies))["assets"]
        if ".dmg" in p["name"]
    ][0]
    version = url_dl.split("/")[-2]

    print("Latest " + app_name + " version is: " + version)
    print("Download url is: " + url_dl)

    # Deleting outdated binaries
    for actual_bin in glob.glob("*.dmg"):
        if actual_bin != binaryfile:
            print(actual_bin + " Deleted")
            remove_file(actual_bin)

    # Downloading latest binaires
    if not isfile(binaryfile):
        print("Downloading " + url_dl)
        wget(url_dl, binaryfile, proxies=proxies)

        # Changing version of the package
        control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
        control.save_control_to_wapt()
        print("Changing package version to: %s in WAPT\\control" % control.version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
b1787ce3e2030bb7c7d07bcdc08453eb14caed86ce575d2c3d6dc3926b1c5af9 : WAPT/control
b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21 : WAPT/icon.png
729df50b726fd131020e8ca91cdea50929c386ec1415ee24f98845213160c08f : luti.json
ebac2ab073b02b42e51a020b20c7d5b40e00f8ca0bca6301ee9994387bd55d53 : rocketchat-4.8.0-mac.dmg
6d8f56b5cf811cf96c456abd3eb2fbcc3bbc7365e6d62e7e3f017b634c825466 : setup.py
3dba73ec38dcdd1bb21438791b5f38f27d53a3e8d52f1cac349b93fc4ffbba56 : update_package.py