- package: tis-mblock
- name: mBlock
- version: 5.4.3-1
- categories: Development
- maintainer: JPadmin
- locale: all
- target_os: windows
- impacted_process: mBlock.exe
- architecture: x64
- signature_date:
- size: 310.54 Mo
- installed_size: 623.78 Mo
package : tis-mblock
version : 5.4.3-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 :
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 : c9be8456-e2fb-44d2-b53a-a286df87b216
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 : aYe8M9uPBHbXPROv3k8q1vTwbaO/7L7yKR5viTXRDWDeuJ6Y3OpL3ytegr30Rpj46eEHja4RLfVeeWMpV1BvFYEdCFEZVvKvTHCU0WIcXPvQzwZJEIvaAYBD+Px1gLI1hlIh80fXDQUPEaee+mCzp2v9DfNQfLnmCMoNEEq0w2AOsS3C3ubCl3vrL4SjVRWQ0Z+olK/hhv/kTKmfZZlbYdLa76bYyM0F4oeAc61fzVA5skoRLSopnZs6MltyEO8FbF4O5swMFZOBnVWEVdZtvh2bLxCtHve87b73m5+sPfYNS//IJQ3yok20sCoQSgL2MIvysKDOMJ1tRteNVwXrFA==
signature_date : 2023-11-07T10:05:22.711588
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 *
def install():
print("installing %s" % control.asrequirement())
# Installing the package
install_exe_if_needed(
glob.glob("V*.exe")[0],
silentflags="/S",
name="mBlock",
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
t= requests.head('https://s.mblock.cc/download/pc-windows',proxies=proxies)
download_url = t.headers['location']
latest_bin = download_url.split('/')[-1]
version = latest_bin.replace('V','').replace('.exe','')
# Downloading latest binaries
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# 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
72bb8ec46357a9ec39daadc5b1af253c8b2dd5059971b825f466b7e9a175232f : setup.py
9d5bf8cddc60080fd570bb79bfc5867daf56a40f45ee9a2dace714ebc555c5c5 : V5.4.3.exe
3146dfd71cd510192c3bae5bd094e31f9cef66e70439b72c154578e9c39883a1 : update_package.py
c6246be77fa0d87cb8860fc9de433dfc02b56edaaca368712d5b6267141eeee4 : WAPT/wapt.psproj
7f69cfaeef1e6d9afea3aff7c000e6bd662a3e042b28a7582ffbf32fad6738e3 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
a014fa19317d0adbbd348e7e6c10f5bea51baa6486ed62ca2036101060288e87 : WAPT/changelog.txt
0fef3607c139e13026a683da8c101cab4c1fcced099b3180e1cc3582d0667244 : luti.json
926100db4af9774cb39050c5dd8843b4f509304bb8ad8a96e39e85bf1edf8fa2 : WAPT/control
https://www.mblock.cc/releaselogs-mblock5/