tis-lx-music-desktop icon

lx-music-desktop

Silent install package for lx-music-desktop

2.12.6-1
Media
Media

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

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

package           : tis-lx-music-desktop
version           : 2.12.6-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          : PREPROD
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      : 53018d36-7d64-445f-8587-fca6f2d70373
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ba9a924636caa95124481bbc80a567731e94907c2512363ccdd62f9f3606cd83
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-09-19T02:59:26.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         : YHnBXomlOyTvG4HOcf84k5Vq8pritQPrBEGHwiIoIOm6WIzAJPrwG7fAe0cG3CBoJHIR4xraebiMuN+z1wdBvzcTIlaXC+crUs+Z1aFyDBmTkfQLmKdyKJHrEAZDGZd7/nmlWoXH/xxyDV2xuTnLk/wT6RSPqOnq/tqbXa89jpPgBQEYMjk8kmiAc2heXeY3KiNrRqptM83GJb4pgwW9HJx5lPaiGSUmCi32lmrfyV70f871ZZ7snQ8iqQtEqmNerflxbcqR7xxK8YerWUJpIg88A+eefF1GFWkgFnElmXzkC8iLKg0JYAQBly5c6H4X9ENKBrFvhpVF/zJEfi8Hng==

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

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
6b4af8f7132939ee26eb43013683d18926b5e8f8be62483380ba8ed1dd20dc49 : WAPT/control
ba9a924636caa95124481bbc80a567731e94907c2512363ccdd62f9f3606cd83 : WAPT/icon.png
c260c9b6b98d8925ceb369a58739fc90ef4a020c07ce109a696e12af8fe65db5 : luti.json
60ff27d014fca9625788cb7e1bb4e9d948a3bab428ebc53a2f44589a12111d79 : lx-music-desktop-v2.12.6-x64-Setup.exe
e7e8b78e65ccff00e099cd8dfcb01ba1c84b620789940fa8654f998c12390b70 : setup.py
f1d91c4d3b305cb7e44361d1777560d45a260d312abbe4d236083c63e49671a8 : update_package.py