tis-balena-cli icon

balena-cli

Paquet d’installation silencieuse pour balena-cli

22.4.11.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 scan VirusTotal est effectué.
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: 22.4.11.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: 102.69 Mo

package           : tis-balena-cli
version           : 22.4.11.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      : d78a8343-2d93-4394-91a4-ef0f04e23e57
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : a4eb40a3275e423dc317e64e71cdd52eabf69cdb77308378750a118f8bbb00d0
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-10T15:57:55.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         : YVzqWw9myfh5ZirFmF2+dx2vP9E+P5ifd8+9HYmEp273C6xF1CWCO8exntKDmaC1yeUOm4B/HyuVOtmVXthZCqR4qUTgWOZxKJCvEA+WrLP4RTIwJ4Dj9891Ain9z2UWteB1gny9XFwwsaTMsyeiLG22VgR8MqdjGxmymGlHQ9/hrm7FGjIPyUajaFDSjEVs49vkEcFOKMor5L0aZ9MVwETLD+Apdbqf81UaoP/VOi7zSd/Hkx2g8IJukCIBjgVOzk9HlZXYFhSebymHz5gHNVwHx1y/UO4AnwEON7u6tOgWso0Qp6MwdfUBxJGhqTWO1/VAhkJlJTse2C5Sq3W/zQ==

# -*- 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
9c6f09c56d7a11cb04d0700434e8159e59a7fdabd4e9fc589dece2c3252b8604 : WAPT/control
a4eb40a3275e423dc317e64e71cdd52eabf69cdb77308378750a118f8bbb00d0 : WAPT/icon.png
be57a49702d29a26abaf437944defc585ae31615ae7079c86aff3266e70851d8 : balena-cli-v22.4.11-windows-x64-installer.exe
ccdcedb0561d56f79d5d176f9bb5e52e091639489885f63381299dd2fbeec549 : luti.json
5c36feb4c03f6c2ae664455fa4dff8af82ae3e199de28f4a8d025dde90d5c68b : setup.py
bccfd205f0ecd099dac38a517448358adabc70b144243dd67b4e96b43cc1a15e : update_package.py