tis-onlyoffice-desktop icon

ONLYOFFICE Desktop Editors

Paquet d’installation silencieuse pour ONLYOFFICE Desktop Editors

8.3.3-4

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

package           : tis-onlyoffice-desktop
version           : 8.3.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      : 18b6d3a6-5cc7-4223-9d7f-639b6a47cc9f
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-04-22T10:22:06.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         : Oc1bIqH8CCWZFe8m6MKWPkVdIaGHtvBfiBu4JKzMvm0q0e6iCYaBOaVJOu4yQ5661UL331EjtKkrMHGxKAbfISo3FRyt6znYuijw4WdZxw61AQUn+YPUkhfFR4U0OzrGYPZWxzw9PrNbfHMrE4zyugcvTfvK/0GU9YWyjTqhw6Bv8adV7K0hVWp8B9Lu6qBSgMrzWSqJxCPj1BmiaKSrWYH92TxqOxfyBVxfuckfCGCzvA3qFMqSblzSwIla8VCOxq16Cq8kbsqPEnH7KPoYkL7YyWidAVhh4uhRMxfzdu5LUYKvxZurHfT1qEh8v1rGeV6yYFHjEftRgW8GbfFkpQ==

# -*- 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

c5b48eadf6d2d5d0839319d8d8ae84dd9d57814bdebf6a0a198004e516f755ae : ONLYOFFICE-arm.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ffdf0df16bd8e2feafa82ee303cc94b508a284839030f04e73bb1ee99e957808 : WAPT/control
fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3 : WAPT/icon.png
c09a5934c590446446f03ca8019bdc080d8873dedfb5e9ccfaba406e9532f9f6 : luti.json
591098b8b60549cc3805c96b744e97136128d3be052812016763c8c2bda50fe2 : setup.py
07b6d6fa62f88ed1d34fe2d533c5f4e99413c66d14769f711f19e80912a35330 : update_package.py