pencil2d
Paquet d’installation silencieuse pour pencil2d
0.7.2-1
- package: tis-pencil-portable
- name: pencil2d
- version: 0.7.2-1
- maintainer: Administrator,Jordan ARNAUD
- target_os: darwin
- architecture: x64
- signature_date:
- size: 46.40 Mo
package : tis-pencil-portable
version : 0.7.2-1
architecture : x64
section : base
priority : optional
name : pencil2d
categories :
maintainer : Administrator,Jordan ARNAUD
description : HMI modeling tool (static and/or dynamic)
depends :
conflicts :
maturity : PROD
locale :
target_os : darwin
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Outil de maquettage IHM (statique et/ou dynamique)
description_pl : Narzędzie do modelowania HMI (statyczne i/lub dynamiczne)
description_de : HMI-Mapping-Tool (statisch und/oder dynamisch)
description_es : Herramienta de modelización HMI (estática y/o dinámica)
description_pt : Ferramenta de modelação HMI (estática e/ou dinâmica)
description_it : Strumento di modellazione HMI (statico e/o dinamico)
description_nl : HMI-modelleringstool (statisch en/of dynamisch)
description_ru : Инструмент моделирования HMI (статический и/или динамический)
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 2f0e9db8-268f-42d1-9be1-2c1249dae47e
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : ccd9a5c5d95a8a56173028da4992105dc8bbf081f7bfd72f9671a1fbd66e5098
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-03-18T05:28:51.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 : UFvgeDtef8pBWGIl02zUzjuwtu9F0WcPmYgQpmmCOkwQeKXN7z7tkZ7KfMWYYS3FXRQPE1O0l8xhEfiCzwAo8JeLHdei+G2eXrimVT4eEvivXZJwK1J5fL7lkymQBMhhbbBPU2DdyCEmxI28JF5+qbdQ/CRj+RrHgidhiTjofDWZrsTcXHu23v3PFgi2ihJXQGF1dOuTj+GKP7iQo7N2iTKp801Tp3XdyRMWVsbwTxykIZtUeuPe9NcId4S/4TzMCJUSDl0//jGl6yFt1o1sawmtsAr0uzhwR2XXZowmbMnFx4Nt/uxdTdNAoDSUh3bzTZLDl2+HMM0DNaY/S20+7w==
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
def install():
install_dmg(glob.glob("pencil2d-mac-*.dmg")[0])
def uninstall():
remove_tree("/Applications/Pencil2D.app")
# -*- 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()
dict_arch = {
"x64":"pencil2d-mac",
"x86":"-win32"}
git_repo = "pencil2d/pencil"
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('.dmg'):
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v","")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
print(filename)
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()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
9e830d84d9f332947255963a2ee042bd4f28221be9e3d93974c393c565ad6eed : WAPT/control
ccd9a5c5d95a8a56173028da4992105dc8bbf081f7bfd72f9671a1fbd66e5098 : WAPT/icon.png
14c48a216c278eac6167a87ea222176f8c9683ba80f782ceac27ad66f711470b : luti.json
e96b12cc18dc8895cf7259ee8e8d6853c8e8fd40a7b6bdb68f2514b6b096f4e0 : pencil2d-mac-v0.7.2.dmg
c81632d9bae44c05a6385570444216f4b7bc2a9ab496ed6d7a852dd73b0d71a0 : setup.py
42fba87e96f5b852d2dad0b4bf55621cd3920e282e28ae737e3cb3affa3ab3a2 : update_package.py