tis-imageglass icon

ImageGlass

Silent install package for ImageGlass

9.3.2.520-2

  • package: tis-imageglass
  • name: ImageGlass
  • version: 9.3.2.520-2
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Duong Dieu Phap
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: ImageGlass
  • architecture: x64
  • signature_date:
  • size: 140.46 Mo
  • installed_size: 79.49 Mo
  • homepage : https://imageglass.org/
  • depends:

package           : tis-imageglass
version           : 9.3.2.520-2
architecture      : x64
section           : base
priority          : optional
name              : ImageGlass
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : ImageGlass is a lightweight software designed for seamless viewing of images in an interface
depends           : tis-dotnet8,tis-webview2
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 79486593
impacted_process  : ImageGlass
description_fr    : ImageGlass est un logiciel léger conçu pour la visualisation transparente d'images dans une interface
description_pl    : ImageGlass to lekkie oprogramowanie zaprojektowane do płynnego przeglądania obrazów w interfejsie
description_de    : ImageGlass ist eine leichtgewichtige Software, die für die nahtlose Betrachtung von Bildern in einer Schnittstelle
description_es    : ImageGlass es un software ligero diseñado para la visualización fluida de imágenes en una interfaz
description_pt    : O ImageGlass é um software leve concebido para a visualização de imagens numa interface
description_it    : ImageGlass è un software leggero progettato per la visualizzazione di immagini senza interruzioni in un'interfaccia
description_nl    : ImageGlass is lichtgewicht software ontworpen voor het naadloos bekijken van afbeeldingen in een interface
description_ru    : ImageGlass - это легкое программное обеспечение, предназначенное для плавного просмотра изображений в интерфейсе
audit_schedule    : 
editor            : Duong Dieu Phap
keywords          : images,viewing
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://imageglass.org/
package_uuid      : 996ef2fb-f949-4b1b-9c2c-aca64b7fc46a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://imageglass.org/releases
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 7f55ea6c47f30a8e559327a0f3edc54e72dc8bf9f507edcf4d17965670b4f060
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T08:33:22.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         : SfpM96RTPCdDyzkxZXt0B5T0gzxqoMH+lGs15zGit4hIf9AzFbfwLLPimvQa3e2zVHFs1V0P9a/0jfdfQbmJg6tzujuIl9QXbJ3aHSWHv7CHAbvCA/g+foRMRLvAoz/2KwfgEWyIr0uYnrPwI/j32i0njOjTcwB9G3VPVBvWE04yl3T26r3bvMHUZGS5hOFyucOWEuszBxsKWOQuUi2PUYs0Eozpjy5zA5fzw8KADU+U0RWZNx0ptnICmqLV+FJTh2AGMKtxkSYGWZWURVcZFClRe+yUOavQLhImWt3CZI2pAa6XUxu8RUHlLykhBI+Up4ybXR15wMESmwBZ+lfT5w==

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


def install():
    bin_name = glob.glob("ImageGlass_*x64.msi")[0]
    install_msi_if_needed(
        bin_name,
        min_version=control.get_software_version(),
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": "x64.msi"}
    api_url = "https://api.github.com/repos/d2phap/ImageGlass/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    msi_found = False  # Flag pour indiquer la découverte d'un fichier .msi
    for release in releases_dict:
        if msi_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".msi") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].split(" ")[1]
                msi_found = True  # Mettre à jour le flag pour indiquer qu'un msi a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.msi"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    version = get_version_from_binary(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

f6e8361113d16b284e336736ec346b727cb3b9840827b91dd8b398b9ac58dcd2 : ImageGlass_9.3.2.520_x64.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f903161a82bacc812ee84db6b1a0e4eb8c05d4b9d43b312b331742b14adab887 : WAPT/control
7f55ea6c47f30a8e559327a0f3edc54e72dc8bf9f507edcf4d17965670b4f060 : WAPT/icon.png
c98725788fc4f3a4c8997023349b1f69d03345cae54726c30b3819fb7bda7708 : luti.json
197729c09728793bee8ee0065c892643f437b9cd93e913672cd1da5ec3a64f01 : setup.py
4a8af61b57dc9603454d0847fcc9d5cf942238cbddaef4b8e406de71e608f218 : update_package.py