tis-onlyoffice-desktop icon

ONLYOFFICE Desktop Editors

Paquet d’installation silencieuse pour ONLYOFFICE Desktop Editors

9.0.3-4

  • package: tis-onlyoffice-desktop
  • name: ONLYOFFICE Desktop Editors
  • version: 9.0.3-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: arm
  • signature_date:
  • size: 353.83 Mo
  • homepage : https://www.onlyoffice.com/

package           : tis-onlyoffice-desktop
version           : 9.0.3-4
architecture      : arm
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      : c123e900-63fa-4752-8e32-329b494e92b7
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-07-14T10:00:21.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         : wjZI6+CnraAj5DGt8LsMU2geD4fxHynAjFLsFwpRpT9nFKTZHOYz7DPdc2DhDHMlszoJe+WMAjiRRHPyamBecWoWAQTK4jYLgrDwxhzv5XLx9fxkP5zV56DHzpCMHrZTxRL/3A/x1hvebT++3ppJM4TdHU9X3uFfhCWcMItxVZ5touTelKmmqFWSAOjagZJmkHbLBqvjCjCAWnsnt9jM2x/+KK9jYshpFX1gq1v5dZigAw/GM/5tkm/xWvFquxx4U8pjsmmh7Oecr7rlyB7QkfVrJVU8od+6/RGyPpvHphDDu9eZIaxw52boQluvPUUDYd+p9lkHESHKqGJs+YX3vw==

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


def install():
    bin_name = glob.glob('ONLYOFFICE-arm.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

90d4551c7d83ffabad2c487d8622c2c8e254f7931712c40bff62079c65717f09 : ONLYOFFICE-arm.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0209c93e2576cb123a9e0a444fcbc73ad8aed30b5a8c467559fd2e87c1c777e0 : WAPT/control
fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3 : WAPT/icon.png
41b749d9e735811adc9b244d4f164b81ecf60b6933717cddf9604bb8835cdc89 : luti.json
591098b8b60549cc3805c96b744e97136128d3be052812016763c8c2bda50fe2 : setup.py
07b6d6fa62f88ed1d34fe2d533c5f4e99413c66d14769f711f19e80912a35330 : update_package.py