• package: tis-peazip
  • name: PeaZip
  • version: 10.6.0-6
  • categories: System and network,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Giorgio Tani
  • licence: LGPLv3
  • locale: all
  • target_os: windows
  • impacted_process: peazip,peazip-configuration,pea
  • architecture: x86
  • signature_date:
  • size: 7.41 Mo
  • installed_size: 41.50 Mo

package           : tis-peazip
version           : 10.6.0-6
architecture      : x86
section           : base
priority          : optional
name              : PeaZip
categories        : System and network,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : PeaZip is a free and open-source file manager and file archiver
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/giorgiotani/PeaZip/releases
installed_size    : 41496576
impacted_process  : peazip,peazip-configuration,pea
description_fr    : PeaZip est un logiciel libre permettant de compresser en divers formats (.zip, .7z, TAR…) tout type de fichiers
description_pl    : PeaZip to darmowy i open-source'owy menedżer plików i archiwizator plików
description_de    : PeaZip ist ein freier und quelloffener Dateimanager und Dateiarchivierer
description_es    : PeaZip es un gestor y archivador de archivos gratuito y de código abierto
description_pt    : PeaZip é um gestor de ficheiros e arquivador de ficheiros gratuito e de código aberto
description_it    : PeaZip è un file manager e un archiviatore di file gratuito e open-source
description_nl    : PeaZip is een gratis en open-source bestandsmanager en bestandsarchiver
description_ru    : PeaZip - это бесплатный файловый менеджер с открытым исходным кодом и архиватор файлов
audit_schedule    : 
editor            : Giorgio Tani
keywords          : file,manager,archiver
licence           : LGPLv3
homepage          : 
package_uuid      : 4c1dc25f-8385-4a3b-b561-cad020467d31
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://peazip.github.io/changelog.html
min_os_version    : 5.0
max_os_version    : 
icon_sha256sum    : 2d7a3e7dfda4ca9b7bef070b7b2959dc7ca911bd3f0c973797cc6d31caf3b317
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-16T08:07:17.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         : nMLpFyNSEU1cwhgCGxiUHcfRXgAR5R3mWhpR1JUPNyUfw6sGmjJYXvppldKtaaaJYMbrm0sQUgIjG0wghaRIfEMYUi8/zBMrb4FSgAT0649J026BaV4NAODac8K6b3Bu2fIroIx8AGYWzsymLoPuOQYnz3zCsHuYI+YlZyzezgFWhH8SWhsURJwVQIH2aZ6PbmZf9eacuNGdkWICbhtZDJGoHJHifpwbYVo0toiwT/4vgU+WKmutbinYwNI86miIGh+oLM9M/R1QKrKdIoTjXvx0eZ0RViHylm7a8mNqBzgLBVF2R7oMWnXDQesRW0G91iIQzWz8XnFSS6jvAmmFrQ==

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


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

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        key="{5A2BC38A-406C-4A5B-BF45-6991F9A05325}_is1",
        min_version=control.get_software_version(),
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "peazip-"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    git_repo = "peazip/PeaZip"
    api_url = "https://api.github.com/repos/%s/releases/latest" % git_repo
    if control.architecture == "x64":
        arch_contains = ".WIN64.exe"
    else:
        arch_contains = ".WINDOWS.exe"
    sub_bin_name = bin_contains + "%s" + arch_contains

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if bin_contains in download["name"] and arch_contains in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

        # Checking version from file
        version_from_file = get_product_props(latest_bin)["ProductVersion"]
        if version_from_file.startswith(version) and version_from_file != "":
            print("Changing version to the version number of the binary")
            os.rename(latest_bin, sub_bin_name % 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)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1ef37d62b917997303a43567939c4ff5638c55fa242f178a3ffff259a05b4bd7 : WAPT/control
2d7a3e7dfda4ca9b7bef070b7b2959dc7ca911bd3f0c973797cc6d31caf3b317 : WAPT/icon.png
44f4ad3df0db432a75a0798606ad1347f20a441e9f24a54c392f8167510be9a6 : altconf.txt
f9e6a3dfb63a410da21852dc56607db95301fa5de9af1cafe231f49895fd5b4d : conf.txt
f80cc78f1ac00037330c7a592676a97ae0acb28e555372ae4bdf5262e545f288 : luti.json
f61b919c805c37b9375b9840952a607086017c9af0418343e18f5839f10bfa42 : peazip-10.6.0.WINDOWS.exe
200808ad8261d467a7c69d2790b7c0e153f19a5074eb2ba4e8c88eec13bb914f : setup.py
a9a9cd90a288b5432b45358feb430f31fc6b5ff2dcb2c3559f274864578972d3 : update_package.py