tis-balena-cli icon

balena-cli

Paquet d'installation silencieuse pour balena-cli

25.2.38.0-1
Utilities
Utilities

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-balena-cli
  • name: balena-cli
  • version: 25.2.38.0-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_private
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 121.61 Mo

package           : tis-balena-cli
version           : 25.2.38.0-1
architecture      : x64
section           : base
priority          : optional
name              : balena-cli
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ,
description       : The official Balena command-line interface
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : L'interface de ligne de commande officielle de Balena
description_pl    : Oficjalny interfejs wiersza poleceń Balena
description_de    : Balenas offizielle Befehlszeilenschnittstelle
description_es    : La interfaz de línea de comandos oficial de Balena
description_pt    : A interface de linha de comando oficial da Balena
description_it    : L'interfaccia ufficiale a riga di comando di Balena
description_nl    : De officiële Balena opdrachtregelinterface
description_ru    : Официальный интерфейс командной строки Balena
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_private
homepage          : 
package_uuid      : 5f694bfb-6753-4f47-bb0a-39828e18d30b
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : a4eb40a3275e423dc317e64e71cdd52eabf69cdb77308378750a118f8bbb00d0
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-11-23T19:01:48.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         : eAlWEXpf2tyDQ4UdKClO8L81VsCJXP0XJkL8wzRV29ZJ+jnJQTxDgJaKqwUziy1DGUJYKujR1j2GVAKf1Pw/2LLK/VsJuteVJ/N28WowpejuNfg4RCzN2VNn6cVuZEIAlWOJtXAU2nogWZNitcSaYcYcVsrB3ffBsUqQeRXjpCqKmSb0AfvCPcIaeox/7w7ZElcwpIvlDHRoiWxS75pokYOWKgSJlQOzWfKMcHaKBRK9n/kt8B6cY4HPayylrtOD9lqK1PjW5GWsiw8qDuYPSIKb3hMGixXHsVYe1aKMU0WaCW8cuewYgnxrlxwc/kNxYJAm65Zo8E6aNKPynqg+CQ==

# -*- 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("balena-cli-*.exe")[0]
    # Installing the software

    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="balena-cli",
        min_version=control.get_software_version(),
    )

# -*- 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 = "balena-io/balena-cli"
    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('.exe') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            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('*.exe'):
        if f != filename:
            remove_file(f)

    version =get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
814537db3ad4679c5c428d59d8708f72b9c9e23d165725769b6fc0e5f2e2e21b : WAPT/control
a4eb40a3275e423dc317e64e71cdd52eabf69cdb77308378750a118f8bbb00d0 : WAPT/icon.png
1626835fefdad5ab879c9df08b708c7ab27da608deb19a1df7352c187aa76716 : balena-cli-v25.2.38-windows-x64-installer.exe
ad4f129104c566614d440c29f62e40d353c1ec06539f24b4d8036995f93931c9 : luti.json
5c36feb4c03f6c2ae664455fa4dff8af82ae3e199de28f4a8d025dde90d5c68b : setup.py
bccfd205f0ecd099dac38a517448358adabc70b144243dd67b4e96b43cc1a15e : update_package.py