tis-mblock icon

mBlock

Paquet d’installation silencieuse pour mBlock

5.6.0-1

  • package: tis-mblock
  • name: mBlock
  • version: 5.6.0-1
  • categories: Development
  • maintainer: JPadmin
  • locale: all
  • target_os: windows
  • impacted_process: mBlock.exe
  • architecture: x64
  • signature_date:
  • size: 349.19 Mo
  • installed_size: 623.78 Mo
  • depends:

package           : tis-mblock
version           : 5.6.0-1
architecture      : x64
section           : base
priority          : optional
name              : mBlock
categories        : Development
maintainer        : JPadmin
description       : mBlock 5 is a block-based and code-based programming software designed for Science, Technology, Engineering, Arts and Mathematics (STEAM) education
depends           : tis-vcredist2015-2022
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.mblock.cc/en-us/download
installed_size    : 623783936
impacted_process  : mBlock.exe
description_fr    : mBlock 5 est un logiciel de programmation basé sur les blocs et le code conçu pour l'enseignement des sciences, de la technologie, de l'ingénierie, des arts et des mathématiques (STEAM)
description_pl    : mBlock 5 to oprogramowanie do programowania oparte na blokach i kodach, zaprojektowane dla edukacji Science, Technology, Engineering, Arts and Mathematics (STEAM)
description_de    : mBlock 5 ist eine block- und codebasierte Programmiersoftware, die für den Unterricht in den Bereichen Wissenschaft, Technologie, Ingenieurwesen, Kunst und Mathematik (STEAM) entwickelt wurde
description_es    : mBlock 5 es un software de programación basado en bloques y en código diseñado para la enseñanza de la ciencia, la tecnología, la ingeniería, las artes y las matemáticas (STEAM)
description_pt    : mBlock 5 é um software de programação baseado em blocos e em código concebido para o ensino da Ciência, Tecnologia, Engenharia, Artes e Matemática (STEAM)
description_it    : mBlock 5 è un software di programmazione a blocchi e a codice progettato per l'educazione alle scienze, alla tecnologia, all'ingegneria, alle arti e alla matematica (STEAM)
description_nl    : mBlock 5 is blok- en codegebaseerde programmeersoftware ontworpen voor Wetenschap, Technologie, Techniek, Kunst en Wiskunde (STEAM) onderwijs
description_ru    : mBlock 5 - это программное обеспечение для программирования на основе блоков и кодов, разработанное для образования в области науки, технологии, инженерии, искусства и математики (STEAM)
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : b7a9f151-837d-4b95-a0a7-807b28ed218c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 7f69cfaeef1e6d9afea3aff7c000e6bd662a3e042b28a7582ffbf32fad6738e3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-29T15:05:00.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         : HjLKyfRm2uCg3lvq3eDWcIlxOFSulHE3jSkpWIP1YH5/Ohh6GOAjdao7BGMx+htH62E+Vwu0HpZj/4bE5/oYtfrGVUGvfWuwGAicVmA7FnkeFezrFj/5/JKUoebrIiVbjdHnrH/7Sv99TMkxY6pHg/DmAzUnxRDbKTs0162WGyog3Ws5P+9mppbVxjR+KFMX3sUZiUasSDlSLJPk67aV3OjJO7nAr2nQUB9r723sELBMd0dF/9qAd/98a9LNEC71MPKGM7+GOijhdi+3SncfktVpnjgMVX1GIEOfAo7cw6lSc29FLu4Ky0Z5MGvLTQfNqqR3QVp7ePjuXRXf/umZRQ==

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


def install():
    print("installing %s" % control.asrequirement())
    
    install_exe_if_needed(
        glob.glob("mblock-V*.exe")[0],
        silentflags="/S",
        name="mBlock",
        min_version=control.get_software_version(),
    )

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


def update_package():
    # Declaring local variables
    package_updated = False

    bin_name = "mblock-V5.6.0.exe"
    download_url = "http://srvtemplates.ad.tranquil.it/binary_cache/" + bin_name
    sha256 = "AC8A463C8854742AECD2923624D3EB04E83B1ED05DF5DAAA97E628BC353DD108"
    wget(download_url, bin_name, sha256=sha256)

    latest_bin = bin_name
    version = latest_bin.replace('mblock-V','').replace('.exe','')

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")
    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)
    # Validating or not update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
a014fa19317d0adbbd348e7e6c10f5bea51baa6486ed62ca2036101060288e87 : WAPT/changelog.txt
b789faac8441240fc440c6b19c44505bac2b178f529125aaac96162ffec79cb8 : WAPT/control
7f69cfaeef1e6d9afea3aff7c000e6bd662a3e042b28a7582ffbf32fad6738e3 : WAPT/icon.png
e143a00662731c3aaaf1fbf9d63cc6c55d6bc9a20769aff83c62734dfd1a1477 : WAPT/wapt.psproj
3eb2976586dc66356e2741fd3355d1888cae375af5dc130abced68caf9ce801e : luti.json
ac8a463c8854742aecd2923624d3eb04e83b1ed05df5daaa97e628bc353dd108 : mblock-V5.6.0.exe
12d51c718528411d7314dd75533551fc707f66d052b7d1a86dbf80fa925ce4ae : setup.py
be94b0d87212a75f2d0721f3ade246b1ea2d5eaf34869a0111401ff2f8b29b63 : update_package.py

https://www.mblock.cc/releaselogs-mblock5/