tis-rocketchat

3.0.3-3
Rocket.Chat permit to communicate and collaborate with your team, share files, chat in real time or switch to video/audio conferencing.
8010 downloads
Download

  Description 

  • package : tis-rocketchat
  • version : 3.0.3-3
  • architecture : all
  • 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.
  • locale : all
  • target_os : darwin
  • min_os_version :
  • max_os_version :
  • min_wapt_version : 1.8.2
  • 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 :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Team Rocket.Chat
  • licence : MIT
  • signature_date : 2020-10-14T16:45:36.009680
  • Homepage : https://rocket.chat/

  Setup.py 

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

uninstallkey = []


def install():
    install_dmg('rocketchat-%s.dmg' % control.version.split('-')[0])

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

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)

    control.version = version + '-2'
    control.save_control_to_wapt()


										

  Changelog 


Changelog software url : https://github.com/RocketChat/Rocket.Chat.Electron/releases/

No changelog
  manifest.sha256 
[["rocketchat-3.0.3.dmg","5d32ccbbc0f013c7f9a3f4464b33d5bf1920cf609bf2441b59871f2e74f3fe7d"],["setup.py","8e0d3487a6885de65f94029f4c2deff86af54d1b381563bead245baf54f189d8"],["WAPT/icon.png","b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","7d1044b70eb822167941b906c6153f4c68c20448bc9fc6c5eca4700a040183ff"]]