tis-onlyoffice-desktop icon

ONLYOFFICE Desktop Editors

Paquet d’installation silencieuse pour ONLYOFFICE Desktop Editors

9.1.0-4
Office
Office

  • package: tis-onlyoffice-desktop
  • name: ONLYOFFICE Desktop Editors
  • version: 9.1.0-4
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • editor: Ascensio System SIA
  • licence: GPLv3
  • locale: all
  • target_os: macos
  • impacted_process: DesktopEditors,editors,editors_helper
  • architecture: x64
  • signature_date:
  • size: 370.02 Mo
  • homepage : https://www.onlyoffice.com/

package           : tis-onlyoffice-desktop
version           : 9.1.0-4
architecture      : x64
section           : base
priority          : optional
name              : ONLYOFFICE Desktop Editors
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description       : ONLYOFFICE (formerly TeamLab) is an open source office suite
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
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    : ONLYOFFICE (dawniej TeamLab) to pakiet biurowy typu open source
description_de    : ONLYOFFICE (ehemals TeamLab) ist eine Open-Source-Office-Suite
description_es    : ONLYOFFICE (antes TeamLab) es una suite ofimática de código abierto
description_pt    : ONLYOFFICE (antigo TeamLab) é uma suite de escritório de código aberto
description_it    : ONLYOFFICE (ex TeamLab) è una suite per ufficio open source
description_nl    : ONLYOFFICE (voorheen TeamLab) is een open source kantoorpakket
description_ru    : ONLYOFFICE (ранее TeamLab) - офисный пакет с открытым исходным кодом
audit_schedule    : 
editor            : Ascensio System SIA
keywords          : only,onlyoffice,office,suite,word,spreadsheet,sheet,excel,presentation,doc,docx,xls,xlsx,ppt,pptx
licence           : GPLv3
homepage          : https://www.onlyoffice.com/
package_uuid      : ea7f4dca-f5c0-4db7-b51a-16017e886cce
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://helpcenter.onlyoffice.com/server/document/changelog.aspx
min_os_version    : 10.12
max_os_version    : 
icon_sha256sum    : fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-20T19:24:07.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : Na1wEp/bNwVIZEw5Iyccfne9n0U7P+b2VJH5oXeiKXfPU8F9jkK77mZyG8cvTTT+7woTYeCM4dtRbJ1i87AjRpsPD+7Dc09TfGhtgPyv/n3Z35kWBsPjjzub4CSmux7IFcNovknCiyJFa5D+efV0KM+HYezRRzN3m95Gn0uLi3lBI+OZKeEDrhEhbuqD8iu2UinUZ4Q/dHeYyBab91vcomLfUdvwCL4+obG34uVdZ1GTlpL+mPuJnFcn/0wNYwWPUc2xf+2qJ777nNLitFU53pjMoEC/uZDm6RrBsxn/gFwrcIcABa8H+s0Dz8MybHYUnUn0Ple1S3Ow6eH38+Bc6w==

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


def install():
    bin_name = glob.glob("ONLYOFFICE-x86_64.dmg")[0]
    install_dmg(bin_name)

def uninstall():
    remove_tree("/Applications/ONLYOFFICE.app")

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


def update_package():
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    app_name = control.name
    
    git_repo = "ONLYOFFICE/DesktopEditors"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    os_dict = { 'x64': '-x86_64.dmg', 'arm': '-arm.dmg' }

    print(f"API used is: {url_api}")
    json_load = wgets(url_api, proxies=proxies, as_json=True)

    for download in json_load["assets"]:
        if download["name"].endswith(os_dict[control.architecture]):
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace('v', '')
            latest_bin = download["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

dc7ec903b497663e1ac48a4ddc830155e9b1588c8ea9959b05a917bf699b2e0a : ONLYOFFICE-x86_64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d6600c612e3886b6e9e0159c7ce4b7c3ff76afd5598cd453dbf802b13c8a7715 : WAPT/control
fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3 : WAPT/icon.png
4e30fc62ef54dc26bfca0d6c7c9a96904b8c7d88a86ef15b8464ee603ea9bfeb : luti.json
d9290c32720c8ac2ba0a456587b8dbc525cddd862bf33fd2a7a3e349337efdd5 : setup.py
07b6d6fa62f88ed1d34fe2d533c5f4e99413c66d14769f711f19e80912a35330 : update_package.py