tis-yesplaymusic icon

yesplaymusic

Silent install package for yesplaymusic

0.4.10-1

  • package: tis-yesplaymusic
  • name: yesplaymusic
  • version: 0.4.10-1
  • maintainer: Amel FRADJ
  • licence: MIT License Copyright (c) 2020-2023 qier222
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 57.91 Mo
  • homepage : https://music.qier222.com/

package           : tis-yesplaymusic
version           : 0.4.10-1
architecture      : x64
section           : base
priority          : optional
name              : yesplaymusic
categories        : 
maintainer        : Amel FRADJ
description       : YesPlayMusic a third party music application for Netease Music
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : YesPlayMusic, une application musicale tierce pour Netease Music
description_pl    : YesPlayMusic - zewnętrzna aplikacja muzyczna dla Netease Music
description_de    : YesPlayMusic eine Drittanbieter-Musikanwendung für Netease Music
description_es    : YesPlayMusic una aplicación de música de terceros para Netease Music
description_pt    : YesPlayMusic uma aplicação de música de terceiros para a Netease Music
description_it    : YesPlayMusic, un'applicazione musicale di terze parti per Netease Music
description_nl    : YesPlayMusic een muziektoepassing van derden voor Netease Music
description_ru    : YesPlayMusic - стороннее музыкальное приложение для Netease Music
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT License Copyright (c) 2020-2023 qier222
homepage          : https://music.qier222.com/
package_uuid      : 000f8bf0-8ff3-4fe8-a018-b32f2fd9a565
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : f2e84c073b109a74c15b7f88e12299b849066894f72d88e353d02526d0fdd2d4
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-20T18:16:35.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         : ha57vsWvcNnUOB7MrYu5M9I53ZheVSIviQEh6RqS97FSxIAl+dzztDIyOWW4mnDXvHo2rosCYp7uySY64CeYGfh4/a82ojesy2uryc/NSYqPW04Tl12/h7a4HL6F/i+w3+ukYJ2ktz1mPoKstOfHk5lj1+PMaHJ06RZyM/nqsJOXY6WEAfT0X4jKzVirddyghG/ZKC690X/CsNMN1sePL0JMDj+PSc5plpnz2n1X5bK3AeHqHXaqUlALs2UmrUNMWbIIrFaflYKgn5xKN56baO1+kLInnuQlLTxfOJgS6efqyIDcngIYNFK0gQ6mapwvGCQtIbaoxuh5QVZqT4uuHw==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"3c7a400b-fe6f-564d-bf89-78d4da3d32fc",
   "name":"YesPlayMusic 0.4.8",
   "version":"0.4.8",
   "install_date":"",
   "install_location":"",
   "uninstall_string":"\"C:\\Program Files\\YesPlayMusic\\Uninstall YesPlayMusic.exe\" /allusers",
   "publisher":"qier222",
   "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('YesPlayMusic*Setup*.exe')[0]
    # Installing the software
    install_exe_if_needed(bin_name,
        silentflags='/S',
        key='3c7a400b-fe6f-564d-bf89-78d4da3d32fc',
        min_version=control.get_software_version(),
    )



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

    if not proxies:
        proxies = get_proxies_from_wapt_console()

    git_repo = "qier222/YesPlayMusic"
    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 "Setup" in download["name"] and download["browser_download_url"].endswith('.exe'):
            url_dl = download["browser_download_url"]
            version = json_load["name"].replace("v" ,"").split("-")[0]
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,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(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
08145147a62a6c1d276327fc324550ea58acc28538bb57b23c909f66aec437d3 : WAPT/control
f2e84c073b109a74c15b7f88e12299b849066894f72d88e353d02526d0fdd2d4 : WAPT/icon.png
e880a1cc6ef6a391c6f5b9d747bcd214503e13a2983f32866dbd8159a1f7c7a0 : YesPlayMusic-Setup-0.4.10.exe
c282540b98447003006c6327e0dd368b31488426f906bc8842a2fdaae3b83e64 : luti.json
08acb6c870a501e8e278b3325722418e60f8325c26608aa3cb3e764b7580798c : setup.py
7a271f2521ca07953e079334ae0cba35dbe4ff9bbb63b3e02e1066ac9f25e019 : update_package.py