tis-caesium icon

Caesium Image Compressor

Silent install package for Caesium Image Compressor

2.8.4-3

  • package: tis-caesium
  • name: Caesium Image Compressor
  • version: 2.8.4-3
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: SaeraSoft
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: Caesium Image Compressor
  • architecture: all
  • signature_date:
  • size: 21.61 Mo
  • installed_size: 82.06 Mo
  • homepage : https://saerasoft.com/caesium

package           : tis-caesium
version           : 2.8.4-3
architecture      : all
section           : base
priority          : optional
name              : Caesium Image Compressor
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG and WebP formats
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://saerasoft.com/caesium#downloads
installed_size    : 82056692
impacted_process  : Caesium Image Compressor
description_fr    : Caesium est un logiciel de compression d'images qui vous permet de stocker, d'envoyer et de partager des images numériques. Il prend en charge les formats JPG, PNG et WebP
description_pl    : Caesium to oprogramowanie do kompresji obrazów, które pomaga przechowywać, wysyłać i udostępniać zdjęcia cyfrowe, obsługując formaty JPG, PNG i WebP
description_de    : Caesium ist eine Bildkomprimierungssoftware, die Ihnen hilft, digitale Bilder zu speichern, zu versenden und weiterzugeben. Sie unterstützt die Formate JPG, PNG und WebP
description_es    : Caesium es un software de compresión de imágenes que te ayuda a almacenar, enviar y compartir imágenes digitales, compatible con los formatos JPG, PNG y WebP
description_pt    : O Caesium é um software de compressão de imagens que ajuda a armazenar, enviar e partilhar imagens digitais, suportando os formatos JPG, PNG e WebP
description_it    : Caesium è un software di compressione delle immagini che aiuta a memorizzare, inviare e condividere immagini digitali, supportando i formati JPG, PNG e WebP
description_nl    : Caesium is beeldcompressiesoftware waarmee je digitale foto's kunt opslaan, verzenden en delen. Het ondersteunt JPG-, PNG- en WebP-indelingen
description_ru    : Caesium - это программа для сжатия изображений, которая помогает хранить, отправлять и обмениваться цифровыми фотографиями, поддерживая форматы JPG, PNG и WebP
audit_schedule    : 
editor            : SaeraSoft
keywords          : image,compressor
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://saerasoft.com/caesium
package_uuid      : a58ec9d3-a304-4f82-a836-f2ec59db129e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Lymphatus/caesium-image-compressor/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : a0a33d875f531a064edc8ea8b3344f0b77044a274a21f67a43e92fe6d503d20c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-23T08:40:47.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         : pPzT5PCnDAtWOY1Sd+jDtURC1NzcAQQv0FIPtSHH4zxgI/L3fiVg3SF81Ng4RiADYrxZpxphs76Hb6EZIFr+EbBdefQ5BhTcWHXtcGWmjp7WmVSD9Nyc09gxTbU9Kmpchc8l9AJUy2tjBQxIcqKAdTLTBAu1grX5cZMnwk5Pm5tvB/gXeROPThT37dySDP6oI3uMiuk9MJ3COUOVKo6VoRC+iTcwOecSfLpZTN3SKPW1sWJkzKAhEf8WMwXF5OEte6mtz7eMLxBJ2XYVjNqd3CLUsrCHAxqmCH/fSWNHNPOzpa/jYYVpxYwgKIVoeUtNdb289s2iZPUSy8UuW5Rnug==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    bin_name = glob.glob("caesium-image-compressor-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="{C457F5B2-65EB-48E9-9744-A3719FEABA4C}_is1",
        min_version=control.get_software_version(),
        timeout=600,
    )

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
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/Lymphatus/caesium-image-compressor/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "")
    for to_download in json_load["assets"]:
        if "setup.exe" in to_download["browser_download_url"]:
            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)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # 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(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({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

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ab33617de2d58e5de3d3e5ec995cc668f501da06ebfa52b82a0adf657857ef54 : WAPT/control
a0a33d875f531a064edc8ea8b3344f0b77044a274a21f67a43e92fe6d503d20c : WAPT/icon.png
9080b39d888c45711909bffd5a851989a172a76dc0797e150d6b9da9f8ca4bf1 : caesium-image-compressor-2.8.4-win-setup.exe
c05c055b86ca98f2f88cefd41bbf6468c92761df0a1406986c52fb61dce43c06 : luti.json
dba2f831a145eb811c8a7c9cfd7c94e982c67f0a6a3226f32450904690fbafce : setup.py
37f519e1bb2aed2d8b7defb3ee9929878c0cc8c703810a051d24e22ea2174130 : update_package.py