tis-figma icon

Figma-desktop

Silent install package for Figma-desktop

125.6.5-3

  • package: tis-figma
  • name: Figma-desktop
  • version: 125.6.5-3
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • target_os: darwin
  • impacted_process: Figma
  • architecture: all
  • signature_date:
  • size: 212.86 Mo
  • homepage : https://www.figma.com

package           : tis-figma
version           : 125.6.5-3
architecture      : all
section           : base
priority          : optional
name              : Figma-desktop
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Figma Desktop is a powerful, collaborative design tool for teams
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://www.figma.com/downloads/
installed_size    : 
impacted_process  : Figma
description_fr    : Figma Desktop est un outil de conception puissant et collaboratif pour les équipes
description_pl    : Figma Desktop to potężne, oparte na współpracy narzędzie do projektowania dla zespołów
description_de    : Figma Desktop ist ein leistungsstarkes, kollaboratives Design-Tool für Teams
description_es    : Figma Desktop es una potente herramienta de diseño colaborativo para equipos
description_pt    : O Figma Desktop é uma ferramenta de design potente e colaborativa para equipas
description_it    : Figma Desktop è uno strumento di progettazione potente e collaborativo per i team
description_nl    : Figma Desktop is een krachtige, collaboratieve ontwerptool voor teams
description_ru    : Figma Desktop - это мощный инструмент совместного проектирования для команд
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : https://www.figma.com
package_uuid      : 8839753f-fef6-442c-a3fb-bb5e3f10156d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.figma.com/community/widget/1121039535668586157/changelog
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4d6e0115853c84df8d5fed75419401079100d52a39289b8c0aa17c6176340dac
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-30T00:00:17.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         : M0jSQN5+/2d/xu+ROxWGx52jKgAxjtr3o9Bi2b2Gp3o6JuWmy/Cx9oiCPlAhDCzjU2qpPguP4zg1KIfedVOog6ODXyUTTblw0MFPWFguAkf25u3qOdTVeLQ7I65GOs+CJ9jIbdiHb4oqhoXv+3haAYQV4p4FPBq8IiuEN32w/JOiG8Q3CZmK0+jHPlet+/8XvxedXN9Yq/41TEvLDxoA+ckydC47YN1mz5YfM0vORtsZB4eHem5bH+anU1kwA7UYY9lK0nVE7v02jEu5sqGOFZd4374Fc+nAVOevo2FjCrixP4oKM+7m2dhHyzJhH8rhwI8wTF/M5mKnHDXxcK5vTQ==

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


def install():
    # Declaring local variables
    bin_name = glob.glob("Figma-*.pkg")[0]

    install_pkg(
        bin_name,
        key="pkgid:com.figma.Desktop",
        min_version=control.get_software_version()
    )

def uninstall():
    uninstall_pkg("com.figma.Desktop")
    remove_tree('/Applications/Figma.app')

from setupdevhelpers import *
import glob
import xml.etree.ElementTree as ET


def update_package():
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    app_name = control.name

    download_dict = {
        "windows": "https://desktop.figma.com/win/releases.xml",
        "darwin": "https://desktop.figma.com/mac-universal/releases.xml"
    }

    website_xml_data = wgets(download_dict[control.target_os]).decode('utf-8')
    root = ET.fromstring(website_xml_data)
    first_item = root.find('./channel/item')

    download_url = first_item.find('guid').text
    latest_bin = download_url.rsplit("/", 1)[-1]
    latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
    version = latest_bin.split('-')[-1].replace(f'.{latest_bin_extension}', '')
    
    # 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

e9ea729c813fb0f739828a9c19caf99fd57b1dc411179582d85fad2279735485 : Figma-125.6.5.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3d502347ef911324575e9d1089ae40cf69a581c9c46a8bc7d2e9467d3feb4cfc : WAPT/control
4d6e0115853c84df8d5fed75419401079100d52a39289b8c0aa17c6176340dac : WAPT/icon.png
a060bfcb35d0064feccdc6427936a7fe382aace7068f7bd10191a8fa94c4bcc5 : luti.json
2980e03235fdde65374d012e745d0f941c397e28bdb3b366d92940653e77003c : setup.py
f23fe0a69ca5d00d2d25d4b29760db547f48f7b3c1975b737ed43c4c8437f0a9 : update_package.py