tis-onlyoffice-desktop icon

ONLYOFFICE Desktop Editors

Silent install package for ONLYOFFICE Desktop Editors

9.4.0-5
Office
Office

  • package: tis-onlyoffice-desktop
  • name: ONLYOFFICE Desktop Editors
  • version: 9.4.0-5
  • 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: 540.01 Mo
  • homepage : https://www.onlyoffice.com/

package           : tis-onlyoffice-desktop
version           : 9.4.0-5
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      : 66391302-4d4f-47d0-be93-352d765bf862
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    : 2026-06-06T14:27:18.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         : c4neNgxznFwq3pvJn8LKz4faVFuNNpZ+L8BKKohQmnjgpsF1pjOqHcpYWfGcCXS+VggESdHfu4lRHrSuMxKNL7Pk4MCr17LkKUtIEmTRw5eyDMiD2Qo/kSMaM87wDKxiUmXyKziyq+BVyqPbcqyFiYqY48CR9bG9izZrRJfznYYhLjXpjwU8rH+qdZXWozb91UMrqOLP0PKSG9JOV6fGRYW1jmcL+rvLt/pVCfCe9gQaCaJrShkjXR1W++VwDzkf1lViMOXzV2RnHeCZ8jLtJcKzTiAYnLG2K+9eq7W8IvLF3OeDd51tX26LcbYlAr/h+CeXfVT7XngN72WrkUOU5A==

# -*- 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 *
import platform
import json


def update_package():
    # Declaration of local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/ONLYOFFICE/DesktopEditors/releases/latest"
    os_dict = {
        "x64": "x86_64",
        "arm": "-arm",
    }

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier exécutable
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".dmg") and os_dict[control.architecture] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["tag_name"].replace("v", "")
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un fichier exécutable a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.dmg"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

e965be2222609add6b5a70baa2a8cdb599402491fb2925825d9039dcb154beb4 : ONLYOFFICE-arm.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
570cd318410235ceca4bcf1e116c23302662c6d4dd2b9217dbf68738b18666d1 : WAPT/control
fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3 : WAPT/icon.png
160bb832bd4c26b22dad1ff6f2caa062bb66424560dcc507d3a189130b65be21 : luti.json
591098b8b60549cc3805c96b744e97136128d3be052812016763c8c2bda50fe2 : setup.py
e44af517fb8799fd70472b1e28c8dfc50e0a2d881b948d5e93dd0d841a8d1b57 : update_package.py