tis-onlyoffice-desktop
7.0.0-3
ONLYOFFICE (formerly TeamLab) is an open source office suite
32642 downloads
View on


Description
- package : tis-onlyoffice-desktop
- version : 7.0.0-3
- architecture : x64
- categories : Office
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
- description : ONLYOFFICE (formerly TeamLab) is an open source office suite
- locale : all
- target_os : debian_based
- min_wapt_version : 2.1
- sources : https://www.onlyoffice.com/download-desktop.aspx
- installed_size :
- impacted_process : DesktopEditors,editors,editors_helper
- description_fr : ONLYOFFICE (anciennement Teamlab Office) est une suite bureautique libre
- description_pl :
- description_de :
- description_es :
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor : Ascensio System SIA
- licence : GPLv3
- signature_date : 2022-01-25T02:21:35.845360
- Homepage : https://www.onlyoffice.com/
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json
uninstallkey = []
latest_bin_deb = 'onlyoffice-desktopeditors_amd64.deb'
def install():
install_deb(latest_bin_deb)
def uninstall():
uninstall_apt('onlyoffice-desktopeditors')
def update_package():
print('Update package content from upstream binary sources')
# Getting proxy informations from WAPT settings
proxy = {}
if platform.system()=='Windows' and isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxy = {'http':proxywapt,'https':proxywapt}
remove_file(latest_bin_deb)
# Specific app values
app_name = control.name
git_repo = 'ONLYOFFICE/DesktopEditors'
url_api = 'https://api.github.com/repos/%s/releases/latest' % git_repo
# Getting latest version from official website
json_load = json.loads(wgets(url_api,proxies=proxy))
for download in json_load['assets']:
if download['name'].endswith('.deb'):
url_dl_deb = download['browser_download_url']
break
version = json_load['tag_name'].split('-')[-1].strip('v')
# Downloading latest binaries
if not isfile(latest_bin_deb):
print('Downloading: ' + latest_bin_deb)
wget(url_dl_deb,latest_bin_deb,proxies=proxy)
# Changing version of the package
control.version = '%s-%s'%(version,int(control.version.split('-',1)[1])+1)
control.save_control_to_wapt()
print('Changing version to ' + control.version + ' in WAPT\\control')
print('Update package done. You can now build-upload your package')
Changelog
Changelog software url : https://helpcenter.onlyoffice.com/server/document/changelog.aspx
No changelog.txt.