- package: tis-lx-music-desktop
- name: lx-music-desktop
- version: 2.11.0-1
- categories: Media
- maintainer: Amel FRADJ
- licence: Apache License Version 2.0, January 2004
- target_os: windows
- architecture: x64
- signature_date:
- size: 95.61 Mo
- homepage : https://lxmusic.toside.cn/
package : tis-lx-music-desktop
version : 2.11.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 : cf87fb5a-62c6-4048-8383-c6374c312ff0
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-05-06T10:01:00.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 : tOFvOryhKZK3Y1rrgeYc32/nXCysQJutKcIiWT7GXNlYgvsfXcFpm6/R4OH5ZpWc1v++d04oWpwxX//D7/9sACeLwwGMmEM/jlSJnWAI3kCNXe2V6gmiRoL9b/b4HJfbfMY11XEqcvPLGEwozNCMVYZ9eGxIFdAGaxo4f/AaWbbJUP8oPPOUqUkeICqjScUyfV6d1NYt10kVWu/KkueJ/bffjokD4qSqOamVam0pg4YxoN3Isq6NnjFnfAhAiAX8GU1w+/Ha82rsRcBF/RgAZ7us+u5jriJjbrerECfZbh80pVAWa8bYtdM344+wVnzvPNGtNLaF9AKyVKkJRYRR7g==
# -*- 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
4ae7f362d35c3a82d5bce85fe6cbfafaffd3a5e89b621036f743c5f728ef1d45 : WAPT/control
ba9a924636caa95124481bbc80a567731e94907c2512363ccdd62f9f3606cd83 : WAPT/icon.png
de7198a1a12d2519588581fc7d7145ea5fed7a41883d8a36c7099d1917672fa1 : luti.json
deefba4812140b2ec4cc7b23acb918e9430257b55d8c43528b8c0815e32abb19 : lx-music-desktop-v2.11.0-x64-Setup.exe
e7e8b78e65ccff00e099cd8dfcb01ba1c84b620789940fa8654f998c12390b70 : setup.py
f1d91c4d3b305cb7e44361d1777560d45a260d312abbe4d236083c63e49671a8 : update_package.py