tis-mattermost-desktop
4.4.0-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.
2076 downloads

Description
- package : tis-mattermost-desktop
- version : 4.4.0-1
- architecture : x64
- categories : Messaging
- 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-04-01T08:53:18.106000
- Homepage : https://mattermost.com
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
config_dir=makepath(programfiles,'Mattermost','config')
def install():
version = control.version.split('-')[0]
install_msi_if_needed('mattermost-desktop-{}-x64.msi'.format(version))
mkdirs(config_dir)
if isfile('config.json'):
filecopyto('config.json',config_dir)
remove_desktop_shortcut('Mattermost')
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 'x64.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())
[["mattermost-desktop-4.4.0-x64.msi","f18d968ef366a50613dfac9a4862d505d008e08cb23c8cc67a75441fb9114bf3"],["WAPT/icon.png","e69362ea25ae96a76b2c09199379b2a6492307daaa5b511fa7df1bd5bcba3a6a"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],[".vscode/settings.json","7a50879cdebb2f179b6a22fc497c263a99aba65a8694f0f791985ca67d7dc012"],[".vscode/launch.json","a9a5d4f2034c62f5ee173b543fbce9852483abfe0db40027f09d17e9cf69debb"],["setup.py","e9db5034c0ef7f210a60952156adfc2f47a6d2a6350575fd2924e9fd2e57c173"],["WAPT/control","fe7a781bcd17f1fdc40bd3ff642aaaeb178bdb15839f03d8e971e88d08ce6f51"],["WAPT/wapt.psproj","510d3af6fcf8f2eae5db684bb830ea9845576e76872b9b10854efaea6e4a4cd8"]]