tis-icaros icon

icaros

Silent install package for icaros

3.3.2-1

  • package: tis-icaros
  • name: icaros
  • version: 3.3.2-1
  • maintainer: Amel FRADJ
  • editor: Xanashi
  • licence: open source
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 11.75 Mo
  • homepage : https://github.com/Xanashi/Icaros

package           : tis-icaros
version           : 3.3.2-1
architecture      : all
section           : base
priority          : optional
name              : icaros
categories        : 
maintainer        : Amel FRADJ
description       : Icaros is a collection of lightweight, high quality, Windows Shell Extensions
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/Xanashi/Icaros
installed_size    : 
impacted_process  : 
description_fr    : Icaros est une collection d'extensions légères et de haute qualité pour le Shell de Windows
description_pl    : Icaros to kolekcja lekkich, wysokiej jakości rozszerzeń powłoki systemu Windows
description_de    : Icaros ist eine Sammlung von leichtgewichtigen, qualitativ hochwertigen Windows-Shell-Erweiterungen
description_es    : Icaros es una colección de extensiones de shell de Windows ligeras y de alta calidad
description_pt    : Icaros é uma coleção de extensões de shell do Windows leves e de alta qualidade
description_it    : Icaros è una raccolta di estensioni della shell di Windows, leggere e di alta qualità
description_nl    : Icaros is een verzameling lichtgewicht Windows Shell-extensies van hoge kwaliteit
description_ru    : Icaros - это коллекция легких, высококачественных расширений оболочки Windows
audit_schedule    : 
editor            : Xanashi
keywords          : Icaros_is1
licence           : open source
homepage          : https://github.com/Xanashi/Icaros
package_uuid      : 3c5e31fa-578a-4f09-afc4-bc4f482c5513
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Xanashi/Icaros/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 51ba10d25e35adad1efe726034a169b30d0fc4cc4b71491c817c99e6b09eb424
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : l6O7toxtv4OiL7u0M2R72AgbXKi0v+6WsjLyopbzBRqt0bPi7kqeaGrMtsp9A02DE8ZRlmFFz5G4IrGd+YO7bWKs9KvMm/PW3AncQkPdCZ2WJ6f0nYdPf2YrFIvI7k40Fxz89LIvQBaQnWsxXNrZJHPZ2/ei9zu76JKSBrSpQO8jyJmE3yuHxXYN7/EBIi5OVQ6yW8SQdkf7Z8mizGx5bbEK1azjaeOa5Fm2fEgEG4y4EtgWE7FhdzZaQDxfiw2PeqFe7g2NW0DyzoY+87KQf/RoWH3XSwwk6EROW6j8/6H4GdINnOeSV6KGbBU078BwqfsPADUMXK0Ck0+Eb+ukbg==
signature_date    : 2024-05-21T13:01:08.685590
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

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
 {
   "key":"Icaros_is1",
   "name":"Icaros",
   "version":"3.3.2.0",
   "install_date":"2024-05-16 00:00:00",
   "install_location":"C:\\Program Files\\Icaros\\",
   "uninstall_string":"\"C:\\Program Files\\Icaros\\unins000.exe\"",
   "publisher":"Tabibito Technology",
   "system_component":0,
   "win64":true
  }
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob("Icaros_*.exe")[0]
    # Installing the software
   
    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT',
        key='Icaros_is1',
        min_version=control.get_software_version(),
    )



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




def update_package():
    # Declaration of local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/Xanashi/Icaros/releases/latest"

     # Get data from API
    releases_dict = wgets(api_url, proxies=proxies, as_json=True)
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .msi
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe"):
                url_download = asset["browser_download_url"]
                filename = url_download.split('/')[-1]
                last_version = releases_dict["name"][7:]
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un .msi a été trouvé
                break


    if not isfile(filename):
        package_updated = True
        wget(url_download,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)

       

    control.set_software_version(last_version)
    control.save_control_to_wapt()

    return package_updated

d149666a96c368c478bbab3999edffb3c9f70de16810b029ddcd5a105f4f1d07 : setup.py
3b2a3bbc868a2196f2c990c70889e68e626db5b3ed5570dc949b07adaa3f3084 : Icaros_v3.3.2.exe
38724cc350bd65279d2c871e72818d6ebc4756163cf0862760b7872ff78a4830 : update_package.py
51ba10d25e35adad1efe726034a169b30d0fc4cc4b71491c817c99e6b09eb424 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
326fe1810cd5699e06a808c83e3a6511c7bccafdcb2d9295feb9b9af38fda39a : luti.json
c89b8f3ebb3a28cb694dadddcf25e97d0e141b96f69c9a0b34d7352ebf363b2c : WAPT/control