tis-colour-contrast-analyser icon

Colour-Contrast-Analyser

Silent install package for Colour-Contrast-Analyser

3.5.3.0-1

  • package: tis-colour-contrast-analyser
  • name: Colour-Contrast-Analyser
  • version: 3.5.3.0-1
  • maintainer: Amel FRADJ
  • licence: GNU GENERAL PUBLIC LICENSE
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 89.32 Mo
  • homepage : https://www.tpgi.com/color-contrast-checker/

package           : tis-colour-contrast-analyser
version           : 3.5.3.0-1
architecture      : x64
section           : base
priority          : optional
name              : Colour-Contrast-Analyser
categories        : 
maintainer        : Amel FRADJ
description       : The Colour Contrast Analyser (CCA) helps you determine the legibility of text and the contrast of visual elements, such as graphical controls and visual indicators
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/ThePacielloGroup/CCAe/releases
installed_size    : 
impacted_process  : 
description_fr    : L'analyseur de contraste des couleurs (CCA) vous aide à déterminer la lisibilité du texte et le contraste des éléments visuels, tels que les contrôles graphiques et les indicateurs visuels
description_pl    : Analizator kontrastu kolorów (CCA) pomaga określić czytelność tekstu i kontrast elementów wizualnych, takich jak graficzne elementy sterujące i wskaźniki wizualne
description_de    : Der Colour Contrast Analyser (CCA) hilft Ihnen, die Lesbarkeit von Text und den Kontrast von visuellen Elementen, wie z. B. grafischen Bedienelementen und visuellen Anzeigen, zu bestimmen
description_es    : El analizador de contraste de color (CCA) le ayuda a determinar la legibilidad del texto y el contraste de los elementos visuales, como los controles gráficos y los indicadores visuales
description_pt    : O Analisador de Contraste de Cores (CCA) ajuda-o a determinar a legibilidade do texto e o contraste dos elementos visuais, tais como controlos gráficos e indicadores visuais
description_it    : Il Colour Contrast Analyser (CCA) aiuta a determinare la leggibilità del testo e il contrasto degli elementi visivi, come i controlli grafici e gli indicatori visivi
description_nl    : De Colour Contrast Analyser (CCA) helpt je bij het bepalen van de leesbaarheid van tekst en het contrast van visuele elementen, zoals grafische besturingselementen en visuele indicatoren
description_ru    : Анализатор цветового контраста (CCA) поможет вам определить разборчивость текста и контрастность визуальных элементов, таких как графические элементы управления и визуальные индикаторы
audit_schedule    : 
editor            : 
keywords          : 
licence           : GNU GENERAL PUBLIC LICENSE
homepage          : https://www.tpgi.com/color-contrast-checker/
package_uuid      : 53830bfe-8f1e-4914-b93c-957536ad295e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3bb1a9b9c30e5c252bb2bdd528063ab077951c66c38378947555a6e0f7c637cd
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : Mv2AJz1/T0/HVxWRbo56K08RSFixw6FsTMYvxtFH68Ts+6lg4t5NIqjfEyMxTbxp1bYs6XGB6ylB0MeqXesXneDUvwwe+KLs+nPO+hrZJ443Yxii+Lwk0xtyAXQx+iclBbMiC/Hzn46fcW/8U5MnrjTK02cHWPEkUUSjkfkcBcyPYQ/Zb86IOG6yTKq6GEiX/8ADAHlm0HCIo7Xw0jG0kgCpIbWRdTioPWDpXoIoikA6PYNgiehJSkBDFEaPhJqCXZ1BW//NrwYSa+0KlWDgEUjT9ILFe9dx90uIB3zpfresmjkUgY+A5xNSIMLf7sGJKtL3cSl5Bek+fb4ytjVZHg==
signature_date    : 2024-06-10T09:01:14.698955
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

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('CCA-Setup-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
      
    git_repo = "ThePacielloGroup/CCAe"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.msi') :
            url_dl = download["browser_download_url"]
            version = json_load["name"]
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.msi'):
        if f != filename:
            remove_file(f)
    version = get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

0310861d5f4903b4d6d60d6c9fbd616185ed3e9d9f86c01ff926fa1e74cbd629 : setup.py
f966de78ccf6f32d7282a183f06738715f77b6dbe1037d965febae295a0ebce7 : CCA-Setup-3.5.3.msi
2dbf4daa50335b01c7fe6889c71bbe9523e2069a71ddc22ab40b112d323b615f : update_package.py
3bb1a9b9c30e5c252bb2bdd528063ab077951c66c38378947555a6e0f7c637cd : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
ccc4bee4138365d38c031e7da06a9629ff995dbd5fbc94515900a17fce80d088 : luti.json
5033925a3f3cf8155c893161a9ad18c28543effb86197075aa1afeb3a575c66b : WAPT/control