tis-dcm-portable icon

dcm

Paquet d’installation silencieuse pour dcm

1.35.1-1

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-dcm-portable
  • name: dcm
  • version: 1.35.1-1
  • maintainer: Amel FRADj
  • licence: https://dcm.dev/eula/
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 9.02 Mo
  • homepage : https://dcm.dev/

package           : tis-dcm-portable
version           : 1.35.1-1
architecture      : x64
section           : base
priority          : optional
name              : dcm
categories        : 
maintainer        : Amel FRADj
description       : DCM is a toolbox that helps you identify and solve problems in your Dart and Flutter code. These problems can range from potential runtime bugs and best practice violations to stylistic issues
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : DCM est une boîte à outils qui vous aide à identifier et à résoudre les problèmes dans votre code Dart et Flutter. Ces problèmes peuvent aller des bogues d'exécution potentiels et des violations des meilleures pratiques aux problèmes de style
description_pl    : DCM to zestaw narzędzi, który pomaga identyfikować i rozwiązywać problemy w kodzie Dart i Flutter. Problemy te mogą obejmować zarówno potencjalne błędy uruchomieniowe i naruszenia najlepszych praktyk, jak i problemy ze stylem
description_de    : DCM ist ein Toolkit, das Ihnen hilft, Probleme in Ihrem Dart- und Flutter-Code zu erkennen und zu beheben. Diese Probleme können von potenziellen Laufzeitfehlern und Verstößen gegen bewährte Verfahren bis hin zu Stilproblemen reichen
description_es    : DCM es un conjunto de herramientas que te ayuda a identificar y resolver problemas en tu código Dart y Flutter. Estos problemas pueden ir desde posibles errores en tiempo de ejecución e infracciones de las mejores prácticas hasta problemas de estilo
description_pt    : O DCM é um kit de ferramentas que ajuda a identificar e resolver problemas no seu código Dart e Flutter. Esses problemas podem variar de possíveis bugs de tempo de execução e violações de práticas recomendadas a problemas de estilo
description_it    : DCM è un kit di strumenti che aiuta a identificare e risolvere i problemi nel codice Dart e Flutter. Questi problemi possono andare da potenziali bug di runtime e violazioni delle best practice a problemi di stile
description_nl    : DCM is een toolkit die je helpt om problemen in je Dart en Flutter code te identificeren en op te lossen. Deze problemen kunnen variëren van potentiële runtime bugs en overtredingen van best practices tot stijlproblemen
description_ru    : DCM - это набор инструментов, который помогает выявлять и решать проблемы в коде Dart и Flutter. Эти проблемы могут варьироваться от потенциальных ошибок во время выполнения и нарушений лучших практик до проблем со стилем
audit_schedule    : 
editor            : 
keywords          : 
licence           : https://dcm.dev/eula/
homepage          : https://dcm.dev/
package_uuid      : 10ca230d-d5b8-4710-a1f4-e46414d6fc96
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 88632bb5bfaa33507ace03e3bea9247183c2bd5c187b04ae4d8bb847296dd59e
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-02-02T12:55:03.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         : irv8rIHTH8fYf93U2Q0wBi8DGiIhYN4yeGaYvuMCHjDOwGMiy+eFasq0hkneAUffoDmigXZYD7weESpugCyQR4WLA1iEABE/Ei5N36LBDw8vUH4+xpDAMMNPJPC/Tla0DB8MM1zJb61PBQ7cMEZiZam+oiRpzEVUQHUKsh64EFRjqPZCUnjy24QbEam/2Hf4BM1Yzff/vp86JW7qFeSxBUHpHY6X1oWrlpoPQIvHJwg4CBjlWaJD1mlQN+MouWj/Bm4c+1FcYBwtJxdgwzOAbcDaPc9EGTwYPZ6Tm717DxpjhZawRAtC8T8sohO722cZf7dcO//UG/R/xJvbuxcI9Q==

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

"""


"""


app_name = "dcm "
editor_dir = makepath(programfiles, "dcm")
app_dir = makepath(editor_dir, "dcm")
app_path = makepath(app_dir, "dcm.exe")
#icon_path = makepath(app_dir, "resources", "app", "build", "crushee.ico")   #tis-crushee\windows\crushee\resources\resources\build
audit_version = False


def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")


def install():
    # Declaring local variables
    zip_name = glob.glob(f"dcm-*.zip")[0]

    unzipped_dir = "dcm"


    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
    unzip(zip_name, unzipped_dir)
    print('Copy cx cli to %s' % app_dir)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)

  


    add_to_system_path(app_dir)

def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    if dir_is_empty(editor_dir):
        remove_tree(editor_dir)

   

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    
    git_repo = "CQLabs/homebrew-dcm"
    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))
    # Try to find the required file
    for download in json_load["assets"]:
        if "dcm-windows-release.zip" in download["name"]:
            version = json_load["name"].replace("v", "")
            filename = download["name"]
            url_dl = download["browser_download_url"]
            break
    

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

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

    return package_updated

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
9cf7357510c5a9dc69002ae4e07e055e5f9dc476bc0256355b250081ed53afe8 : WAPT/control
88632bb5bfaa33507ace03e3bea9247183c2bd5c187b04ae4d8bb847296dd59e : WAPT/icon.png
d8ab91f4c62e1da582a323e779e8597e80337e503b58688037422b91abde6390 : dcm-windows-release.zip
36b742612171fe2f960fd462c1b03fc90eb074e79935d6c7cbe1f95d3df240de : luti.json
ec49b9084a34b3718efa107e9192c4e9029822002f421d2312e8bfdb4f393d07 : setup.py
2b67f82a7d872cbc7c441e62dd314d21a2e5ca23fcc016f77736baa87bb621d6 : update_package.py