tis-lx-music-desktop icon

lx-music-desktop

Paquet d’installation silencieuse pour lx-music-desktop

2.12.0-1
Media
Media

  • package: tis-lx-music-desktop
  • name: lx-music-desktop
  • version: 2.12.0-1
  • categories: Media
  • maintainer: Amel FRADJ
  • licence: Apache License Version 2.0, January 2004
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 97.66 Mo
  • homepage : https://lxmusic.toside.cn/

package           : tis-lx-music-desktop
version           : 2.12.0-1
architecture      : x64
section           : base
priority          : optional
name              : lx-music-desktop
categories        : Media
maintainer        : Amel FRADJ
description       : A free and open source music search tool
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/lyswhut/lx-music-desktop/releases
installed_size    : 
impacted_process  : 
description_fr    : Un outil de recherche de musique gratuit et open source
description_pl    : Bezpłatne narzędzie do wyszukiwania muzyki o otwartym kodzie źródłowym
description_de    : Een gratis en open source muziekzoekprogramma
description_es    : Un programa musical gratuito y de código abierto
description_pt    : Um programa musical gratuito e de código aberto
description_it    : Un programma musicale gratuito e open source
description_nl    : 
description_ru    : Бесплатная музыкальная программа с открытым исходным кодом
audit_schedule    : 
editor            : 
keywords          : 
licence           : Apache License Version 2.0, January 2004
homepage          : https://lxmusic.toside.cn/
package_uuid      : 92cff055-41c5-4d6d-8a9c-8d7302eaa867
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ba9a924636caa95124481bbc80a567731e94907c2512363ccdd62f9f3606cd83
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-12-04T10:01:32.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         : T7GFEQqiKg1arYsEW5tFXhA1G6sfkI530k+VvKjfbb+KrsVzGHjXNdLp6kIEw0W8LWvwVmSK0pMidBDI6eOp+54oUOLoSnXULnM1lFYOnz+8okfY77v/SKrElt5vpS43Vs4fzgV3DyM/C7tFeCuKd6HVIj083VAUZS0ik29VXkXkgJ6kWJzVLPtvimLVEvmw0zb5F6h2jEq3nCYp2lAh8s+FNDek4BkAgKOEUyQkEUddHGOJv28/X5sG+eQE4cWsN45a8b5AskAALg/LStfyT/sVQ8q53HNPHtJwbCr+STlCYrC4OpFTrm6N8K0+1w1zavx80RZzsD3hrpKlXxBiaA==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"f648d280-aaa8-5ea1-b73b-5714fa41f508",
   "name":"lx-music-desktop 2.7.0",
   "version":"2.7.0",
   "install_date":"",
   "install_location":"",
   "uninstall_string":"\"C:\\Program Files\\lx-music-desktop\\Uninstall lx-music-desktop.exe\" /allusers",
   "publisher":"lyswhut",
   "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('lx-music-desktop-*-x64-Setup.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/S /allusers',
        key='f648d280-aaa8-5ea1-b73b-5714fa41f508',
        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()
    dict_arch = {"x64":"-x64-Setup"}
    url_api = "https://api.github.com/repos/lyswhut/lx-music-desktop/releases/latest"

     # Get data from API
    releases_dict = json.loads(wgets(url_api, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    #target_extension = control.target_os + ".exe"
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith('.exe') and dict_arch[control.architecture] in asset["browser_download_url"] :
                url_download = asset["browser_download_url"]
                last_version = releases_dict["name"].split("v")[-1]
                filename= url_download.split('/')[-1]
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un .exe a été trouvé
                break


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

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

    version = get_version_from_binary(filename)

    control.set_software_version(last_version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7a20f1a37ce2136602be10a244eba993c4d7d0f48cb0f8442872c6db2d4c37b9 : WAPT/control
ba9a924636caa95124481bbc80a567731e94907c2512363ccdd62f9f3606cd83 : WAPT/icon.png
3a5d9139466a58b53d58881d8e75382ad403a3bcd8fd4b114e07abfc5fed61be : luti.json
74221a247b96b661c9c04f02417d582b92ce6418f810b31b8cd2108e8e5df01c : lx-music-desktop-v2.12.0-x64-Setup.exe
e7e8b78e65ccff00e099cd8dfcb01ba1c84b620789940fa8654f998c12390b70 : setup.py
f1d91c4d3b305cb7e44361d1777560d45a260d312abbe4d236083c63e49671a8 : update_package.py