tis-opentoonz icon

OpenToonz

Paquet d’installation silencieuse pour OpenToonz

1.7.1-0

  • package: tis-opentoonz
  • name: OpenToonz
  • version: 1.7.1-0
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Esteban Peroz
  • licence: opensource_free,cpe:/a:bsd:bsd_license,wapt_public
  • target_os: windows
  • impacted_process: OpenToonz.exe
  • architecture: all
  • signature_date:
  • size: 57.27 Mo
  • installed_size: 162.65 Mo
  • homepage : https://opentoonz.github.io/e/

package           : tis-opentoonz
version           : 1.7.1-0
architecture      : all
section           : base
priority          : optional
name              : OpenToonz
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Esteban Peroz
description       : Software for the production of 2D animation
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/opentoonz/opentoonz/releases
installed_size    : 162653903
impacted_process  : OpenToonz.exe
description_fr    : Logiciel pour la production d'animations 2D
description_pl    : Oprogramowanie do produkcji animacji 2D
description_de    : Software für die Erstellung von 2D-Animationen
description_es    : Programas informáticos para la producción de animación 2D
description_pt    : Software para a produção de animação 2D
description_it    : Software per la produzione di animazione 2D
description_nl    : Software voor de productie van 2D-animatie
description_ru    : Программное обеспечение для создания 2D-анимации
audit_schedule    : 
editor            : 
keywords          : software,production,2D,animation
licence           : opensource_free,cpe:/a:bsd:bsd_license,wapt_public
homepage          : https://opentoonz.github.io/e/
package_uuid      : 30d5cb38-d6d7-4b82-813d-5a652ad43428
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d2909f6b594d396bfd413a1200ad323f17d467f58a217c0e90115bf0c7e07132
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-21T11:05:23.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         : lEnUWDuIJR0Ic+FBo+jSTo7yEpmr/xtMpQYpA9zs2Nr7T3GJ9F/PU2MN1JF1Zs96C2ZHEkEh8NLIQQ+Byi5kJ+Zlx6Q7edFvuY/Yo471RJW8VDfWwr6eiHvRTpmHUotPbppVjO8u3SkRV58aMoezC33DNcpTi4C04zl5njcvDkRfJL4Gt9hCm7YixMi3eIbY4OsDs9iLB2uQn+aEsdE4KzQV5jsVtiW6MFyL7F7LjCGEcRqUuagbPs99e9mTpTdXXGYVS//HdhH3eX1Vh6Gq1PLV+BN0C25OtYZvr3NfW0TphfqMlNhUFlvAe+eviLjvJ7N0N2+JCePJEIApGNKMTA==

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

def install():
    # Declaring local variables
    bin_name = glob.glob("OpenToonzSetup.exe")[0]

    # Uninstalling older major versions of the software
    for to_uninstall in installed_softwares(uninstallkey="{DF519282-600D-4E03-9190-6046329B1CB4}_is1"):
        if Version(to_uninstall["version"], 1) < Version(control.get_software_version(), 1) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(ensure_list(control.impacted_process))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    # Installing the software
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        key="{DF519282-600D-4E03-9190-6046329B1CB4}_is1",
        min_version=control.get_software_version(),
        timeout=600,
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/opentoonz/opentoonz/releases/latest"
    bin_contains= "OpenToonzSetup.exe"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    dict_result = wgets(api_url, proxies=proxies, as_json=True)
    version = dict_result["tag_name"].replace("v", "")
    for to_download in dict_result["assets"]:
        if control.target_os == "windows" and to_download["name"] == bin_contains:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.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)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print("INFO: Binary file version corresponds to online version")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        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()

    # Validating update-package-sources
    return package_updated

8825f1bb2717ad9348a37a06fb75ae2230b87ce0727b2a91d6769821cf0a8823 : OpenToonzSetup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
56758c50e405136f325b0b5bcf4147de33f2e72dc2a13a8af1e273d8f2abfe84 : WAPT/control
d2909f6b594d396bfd413a1200ad323f17d467f58a217c0e90115bf0c7e07132 : WAPT/icon.png
d453ab6835f398cdbb47abb4e2eff218b121b2fb3f6a12c7259ddce65f5b3803 : luti.json
532d1d7b55e8a697d03440b20d84dfd9157f2881a79cb92b948824e90df182e3 : setup.py
8fac19315eec8ecba23161fda25a1713e73eb71e12757c9b4aa5f70affea45d2 : update_package.py