tis-mattermost-desktop

4.3.2-1
The most important is an open source instant chat service in self-hosting. It is designed as an internal chat for organizations and businesses, and is presented as an alternative to Slack.
2077 downloads
Download

  Description 

  • package : tis-mattermost-desktop
  • version : 4.3.2-1
  • architecture : x86
  • categories : Communication
  • maintainer : Kevin Guerineau, Simon Fonteneau
  • description : The most important is an open source instant chat service in self-hosting. It is designed as an internal chat for organizations and businesses, and is presented as an alternative to Slack.
  • locale : all
  • target_os : windows
  • min_os_version : 5.1
  • max_os_version :
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process : Mattermost.exe
  • description_fr : Mattermost est un service de discussion instantanée open source en auto-hébergement. Il est conçu comme un chat interne pour les organisations et les entreprises, et il est présenté comme une alternative à Slack.
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:35:34.580664
  • Homepage : https://mattermost.com

  Setup.py 

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

uninstallkey = []

config_dir=makepath(programfiles,'Mattermost','config')

def install():
    print('installing kg-mattermost-desktop')
    version = control.version.split('-')[0]
    install_msi_if_needed('mattermost-desktop-v{}-x86.msi'.format(version))

    mkdirs(config_dir)
    if isfile('config.json'):
        filecopyto('config.json',config_dir)

def session_setup():
    if isfile(makepath(config_dir,'config.json')):
        config_user = makepath(user_appdata,'Mattermost')
        mkdirs(config_user)
        filecopyto(makepath(config_dir,'config.json'),config_user)

def update_package():
    import json

    proxies = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

    filename,url = [(str(p['name']),str(p['browser_download_url'])) for p in json.loads(wgets('https://api.github.com/repos/mattermost/desktop/releases/latest',proxies=proxies))['assets'] if 'x86.msi' in p['name']][0]

    for fileexe in glob.glob('mattermost-desktop-*.msi'):
        if fileexe != filename :
            print('Delete ' + fileexe)
            remove_file(fileexe)

    if not isfile(filename):
        print('Download ' + url)
        wget(url,filename,proxies=proxies)
    else:
        print('Skip - %s already exist' % filename)

    control.version = get_msi_properties(filename)['ProductVersion'] + '-0'
    control.save_control_to_wapt(os.getcwd())


										

  Changelog 


No changelog
  manifest.sha256 
[["WAPT/icon.png","1f1edf4c4529499692a5fb64df907c1d2ea29a3f3e116a345f36e6379c1921ff"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","510d3af6fcf8f2eae5db684bb830ea9845576e76872b9b10854efaea6e4a4cd8"],["mattermost-desktop-v4.3.2-x86.msi","6f66d2482126a05cecf75e06a411f1eab6701ef984bde1274e7554f82d1b4630"],["setup.py","6128244cd2e366b4f9c1fd9cfacc1705b4dc4ee24541ea74a823c4def38e12d1"],["WAPT/control","d958cf6a583f987a670af3355f627f4a1105dc8e8d5700e478023f40ce416087"]]