tis-rocketchat icon

Rocket.Chat

Paquet d’installation silencieuse pour Rocket.Chat

4.4.1-18

  • package: tis-rocketchat
  • name: Rocket.Chat
  • version: 4.4.1-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: 195.18 Mo
  • homepage : https://rocket.chat/

package           : tis-rocketchat
version           : 4.4.1-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      : e9d02929-2de8-410e-9a59-08e4f3d7902b
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-05-25T21:00:20.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         : ry0t+d2a90kmI5+b1X6FaOrynthbZuT23ks+vOTx2bJmjdDOLp7P81pWHapQiek7zwESMUqWLDnW+0tCVLTceezvYcMygUZhFcYNRqq7EKx8BdYevfHuXHVzp5+JYGnfb3MHbH72SrTnLuoPf1ToZTWU06J1SiUrPiYO/kfCgOaG8pn3LXRXX4iDgtFYokHPXCZRcjDoogBV/gTBVcgJ/NFfiX9WgZO0ed8VhKFWXjKcHoibExWGyfGEhJZa4hsLBiR0QkwjSvafhPegi94lFPbS6ZCNKkadXfq/PAdkA/y951+2ObuV00mDtfDh1Nq84dlXzg13niu55FsWSAebSg==

# -*- 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
34487f2e94e2f3900f6b9f6f5e4c3b853ee17e56d4adde366bb1b4bfeb2f3194 : WAPT/control
b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21 : WAPT/icon.png
2392360bfd412738329dea8c8fcc4a411ba0bbc99a5e96822beebc2c3cfa7ad6 : luti.json
34ba203c5a805624febdd0107949e059e18d456bcb33e17ea70ab7d44e1eb0d0 : rocketchat-4.4.1-mac.dmg
6d8f56b5cf811cf96c456abd3eb2fbcc3bbc7365e6d62e7e3f017b634c825466 : setup.py
3dba73ec38dcdd1bb21438791b5f38f27d53a3e8d52f1cac349b93fc4ffbba56 : update_package.py