tis-pencil-portable icon

pencil2d

Silent install package for pencil2d

0.7.1-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-pencil-portable
  • name: pencil2d
  • version: 0.7.1-1
  • maintainer: Administrator,Jordan ARNAUD
  • target_os: darwin
  • architecture: x64
  • signature_date:
  • size: 46.40 Mo

package           : tis-pencil-portable
version           : 0.7.1-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          : PREPROD
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      : a407214f-7378-4b74-b4ea-ff617d37e86a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ccd9a5c5d95a8a56173028da4992105dc8bbf081f7bfd72f9671a1fbd66e5098
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-09T09:38:54.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         : HP75BCiPOxPn9Ksipu7WWxcRarovx1NtnlDUfPI8ZeP77PX2CgkD4PGqsGEM9PZfgkoYv52vob3gi1N6bWewBwv4JmUlGlYsPX9WkEVzjsBHl2bxdx7LvLTKR2ux4QpmnoSdCmrocyz8yUDO3/lFhtv3PS9eUsKzlUuUMGr2/wEDjmH4SLqsNS3j6oazYCCbyfAkWO+d8ITn0fo+EALiKzGTIYNpe9g/u6sJenzmbKZxRTS2gyk2SRPUOHG0M7pQHyio3k9alCbY+qK3Ww8GBMIzw5fO2XfSJWaL66og3i9BElGG4OkVh6AjF0ZmWNfte2rYDIv0pHUfzBHwgn0Tvg==

# -*- 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()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
af8e338722118b1f7249c4439c505bae52151ebc5c750e1a042b0f586786e7f5 : WAPT/control
ccd9a5c5d95a8a56173028da4992105dc8bbf081f7bfd72f9671a1fbd66e5098 : WAPT/icon.png
859aec128d3c1b5f6361a6b3aaf94bcf9f92aeef3d6d936ce84d96fe6bc0e296 : luti.json
a4bb4472c0cdc2a15e396dd057d81ede401e25698caf5b580adda39e278c162f : pencil2d-mac-v0.7.1.dmg
c81632d9bae44c05a6385570444216f4b7bc2a9ab496ed6d7a852dd73b0d71a0 : setup.py
42fba87e96f5b852d2dad0b4bf55621cd3920e282e28ae737e3cb3affa3ab3a2 : update_package.py