- package: tis-lx-music-desktop
- name: lx-music-desktop
- version: 2.7.0-1
- categories: Media
- maintainer: Amel FRADJ
- licence: Apache License Version 2.0, January 2004
- target_os: windows
- architecture: x64
- signature_date:
- size: 86.63 Mo
- homepage : https://lxmusic.toside.cn/
package : tis-lx-music-desktop
version : 2.7.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 : 931cbb7f-5046-4ac6-b5fa-b5c9a4974280
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : ba9a924636caa95124481bbc80a567731e94907c2512363ccdd62f9f3606cd83
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : QRF10M+sS5Z34OnYA8VNOX/PPXt4gXFo9GT+RcuedPtx2B+bQkaLPQz5IVlxqNgBF3EjsvzWw/qa1F9Abja5tCCwGUR56RNlmP3jCyRjFAdyVkZvylXpqAl0rcOodiSsTZOJKqTdXm/WKsjPn2IUXqLWjHiVZvN1XKvjrrvbmCLTU+ABr+fs6TG7n+NUtP4I2vKSLl7QQsgwk7JD+Dd7uiZDvfvsAVEexFeu7NLJsHgQUD+TslKsS/stGsCJ/RhwwJKnf2eZz/kJz0jy6G1aNYynI7sUz83ictcp6QQMV7AlVEOZL5yUeF2wUuGE1z2uG9Z+ZPRu66kNKWtWOBqJjA==
signature_date : 2024-06-01T10:09:09.210480
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":"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
e7e8b78e65ccff00e099cd8dfcb01ba1c84b620789940fa8654f998c12390b70 : setup.py
f1d91c4d3b305cb7e44361d1777560d45a260d312abbe4d236083c63e49671a8 : update_package.py
ba9a924636caa95124481bbc80a567731e94907c2512363ccdd62f9f3606cd83 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
83360e193ae1f8d699f64a7f1e3859ba8ef44ebafc3a82afa1e1a29572d36d87 : lx-music-desktop-v2.7.0-x64-Setup.exe
7371375236c2cfc6bc83b95750d9c03b782991dfb90ce2ba3ae814ce24c39561 : luti.json
bb3c76dc07d1fc7180e489ac38a450e01e08a806802986ac2db4cfd7832b9f02 : WAPT/control