• package: tis-peazip
  • name: PeaZip
  • version: 10.6.1-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.81 Mo
  • installed_size: 41.50 Mo

package           : tis-peazip
version           : 10.6.1-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      : 3c4208ca-83ab-413d-9c47-e843c04e54d3
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-22T11:02: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         : x5KG+OM6PC3COdrHbrF71O/2BbYGN3FrM6COQVGXEJFShRpFnRAd8l5+74aSsPirki0uv5KqlgD3eRfTWxvG6ueOHXwxnpzeAFS9jlsZpKBbj3GfmxkvS6baE5UL57QOiD31Qb7QYldISd8oBiIOoRiexU/P2vQXRBIYSuM2Z8aofkDnaejTimjwQTFS/tM/qoACoaqglG+U3hag91fF4pjNnYx8z8claczBcOf0OA2qNNnBA1yziGW7Ddo/K+apRX7nHgwKKde82GD6BtFMr1TzJRrLcP52GgEEeSIoyZspiJ85EQ6D4ZkI3601UHeka7omhr2CDdyxlNmdC9Jx3A==

# -*- 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
6bbff1ad765bb93fe7c222a6227d2148a4c53dfdefc76448c296e14931577637 : WAPT/control
2d7a3e7dfda4ca9b7bef070b7b2959dc7ca911bd3f0c973797cc6d31caf3b317 : WAPT/icon.png
44f4ad3df0db432a75a0798606ad1347f20a441e9f24a54c392f8167510be9a6 : altconf.txt
f9e6a3dfb63a410da21852dc56607db95301fa5de9af1cafe231f49895fd5b4d : conf.txt
b7f8fa356569c3e54d9d23f53a6c6a7f4f3df485a68e3434a18881917ec47f80 : luti.json
cabde016d2980743c539a9c288a5f496a62dcc6fb576a870ac817b3ad26dfcdc : peazip-10.6.1.WINDOWS.exe
200808ad8261d467a7c69d2790b7c0e153f19a5074eb2ba4e8c88eec13bb914f : setup.py
a9a9cd90a288b5432b45358feb430f31fc6b5ff2dcb2c3559f274864578972d3 : update_package.py