tis-ilspy icon

ilspy

Silent install package for ilspy

9.0.0.7889-1

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

package           : tis-ilspy
version           : 9.0.0.7889-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      : 952f5f29-e46f-4250-9bd1-f9f5739bb734
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9e4ba94158c2736ffcf8c45ee6e808fa7f500b094bdcdb3dcfb18bcf995adf6d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-24T18:12:25.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         : fhMB6oVeiVNcY1VuwaJDom2cWJgxZyIg3WcjquBZHvPsjfcHAu32xw9wx3TWK4KSUb/g0431RmKyVsn4dEk7otHzeCzMj4JlpKrRcKm61HS8RBp4t1Tttg9amw5dRkN5+Al5wnkFgZ4GjMfxorthp61U1dBIcDOs9GWssc6UT8OeC33gJW1+AnW/fru6+LDqyvpiBMYWf408WQqmqiMLmhZmHzE04F25F4lQI0MFrpFdk7qXc2EGg/G8VR/XzzF7FNhaQwaWOTyECXteqI8h2Id9UZ9ghPxioac+1oiH/T+GRTiJS/74mCZUe5+sdELCFa03eAyt+465vf0FDtuuPQ==

# -*- 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()

fbc88f10e8631295526093825863d90709850939b146c080422ceef17f389dfd : ILSpy_Installer_9.0.0.7889-x64.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
08e7bc856a1469d04f8fbcb85e156ff8283a5fc477ca990ba832169ca014e8e8 : WAPT/control
9e4ba94158c2736ffcf8c45ee6e808fa7f500b094bdcdb3dcfb18bcf995adf6d : WAPT/icon.png
d69ae3dd65c4beb6193e820dcae7dd61dab142cf6b64fefc89c17d860920a8d4 : luti.json
e03fa958ac1c73e81b628adda8707fb9be997b4f939ee802b3371e88e4463676 : setup.py
23c7a8d453070f7a93cc98bd134f9d303e4fda32e88032f55dcfcf268046400d : update_package.py