tis-rocketchat

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

  Description 

  • package : tis-rocketchat
  • version : 3.1.0-16
  • 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-12-23T09:42:35.241853
  • 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)

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


										

  Changelog 


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

No changelog
  manifest.sha256 
[["rocketchat-3.1.0.dmg","4ea3acc2574141ac2b419d474db2882643b090249bc13db58184c77e86946be2"],["setup.py","ba03b833b99133dfabb37304107de2219c08023751badf5f64f0f23708144aa6"],["WAPT/icon.png","b8127266889154a1af4f52b3add4e58cbb948d26621a60a81a5ce52243b4ed21"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","5ebff8740a82ca4ef985fa88ad1395ed1d75e245bbbf0447861962f838226ae3"]]