tis-ilspy icon

ilspy

Silent install package for ilspy

9.0.0.7660-1

  • package: tis-ilspy
  • name: ilspy
  • version: 9.0.0.7660-1
  • maintainer: Amel FRADJ
  • licence: Copyright © SharpDevelop Team
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 4.14 Mo
  • homepage : https://github.com/icsharpcode/ILSpy

package           : tis-ilspy
version           : 9.0.0.7660-1
architecture      : x64
section           : base
priority          : optional
name              : ilspy
categories        : 
maintainer        : Amel FRADJ
description       : ILSpy is the open-source .NET assembly browser and decompiler
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : ILSpy est un navigateur et un décompilateur d'assemblages .NET à code source ouvert
description_pl    : ILSpy to open-source'owa przeglądarka i dekompilator asemblerów .NET
description_de    : ILSpy ist der quelloffene .NET-Assembly-Browser und -Decompiler
description_es    : ILSpy es el navegador y descompilador de ensamblados .NET de código abierto
description_pt    : O ILSpy é o navegador e descompilador de assemblagem .NET de código aberto
description_it    : ILSpy è un browser e un decompilatore di assembly .NET open source
description_nl    : ILSpy is de open-source .NET assembly-browser en decompiler
description_ru    : ILSpy - это браузер и декомпилятор сборок .NET с открытым исходным кодом
audit_schedule    : 
editor            : 
keywords          : 
licence           : Copyright © SharpDevelop Team
homepage          : https://github.com/icsharpcode/ILSpy
package_uuid      : 03cdeae2-88da-47b6-9adf-0ceea76ac67d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9e4ba94158c2736ffcf8c45ee6e808fa7f500b094bdcdb3dcfb18bcf995adf6d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : M5dPZ8K4XKq5t3cv9+d6HhyvROcNFCYzhx02j3vvjGsB733oAxUsxMZaD1lWiZTIqGAhzjKSuN1xrNgxiXTvDHiITEutaOAR88WSYzo9scD5eUKnkfHY3XjY/KA6cce5r1nmz5MBMTTnqgHxxnSLWWQj3IW/28XKJV/wGHd+1Jfkrv5RCcIzPUUOauLm+EKpsBi4YoilS9qguUP1YII7bgNogZC+9T/lIS7Yu8CParQ8WsRCH4BI4O2YbQUtWVa+3tLatM4iutKmMIvPSyuloTjn0gpmn32BCJb+Rh+W+I7e3VQuzw2h/Ols9ncgEoOI3bgDPbQAHXwvUZaQ5FdsFw==
signature_date    : 2024-06-14T20:00:07.105825
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()

"""
# 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('*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()
    dict_arch = {
        "x64":"x64.msi",
        } 
    if not proxies:
        proxies = get_proxies_from_wapt_console()
   
    git_repo = "icsharpcode/ILSpy"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.msi') and dict_arch[control.architecture] in download["browser_download_url"] :
            url_dl = download["browser_download_url"]
            filename = download["name"]
            version = download["name"].split("_")[-1].split("-")[0]

            break

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

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

    control.set_software_version(version)
    control.save_control_to_wapt()

e03fa958ac1c73e81b628adda8707fb9be997b4f939ee802b3371e88e4463676 : setup.py
23c7a8d453070f7a93cc98bd134f9d303e4fda32e88032f55dcfcf268046400d : update_package.py
686bed42b707f8f134af9b35882789d3e471e932d13c16f41f0851ad1d62f7ca : ILSpy_Installer_9.0.0.7660-preview2-x64.msi
9e4ba94158c2736ffcf8c45ee6e808fa7f500b094bdcdb3dcfb18bcf995adf6d : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
0ec582dc9c93d0f7413c5e61f00d91a14da219eb05a6648d28afe989fddb6159 : luti.json
0eb867800c7c444db5fb062ca3ded6749f5d6e359b341bf50c9a9098fd63ef1d : WAPT/control