tis-nicotine-plus icon

Nicotine+

Paquet d’installation silencieuse pour Nicotine+

3.3.10-3

  • package: tis-nicotine-plus
  • name: Nicotine+
  • version: 3.3.10-3
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ,Flavien Schelfaut
  • editor: Nicotine+ Team
  • licence: GPL-3.0 license
  • locale: all
  • target_os: windows
  • impacted_process: Nicotine+
  • architecture: x64
  • signature_date:
  • size: 41.61 Mo
  • installed_size: 94.46 Mo
  • homepage : https://nicotine-plus.org/

package           : tis-nicotine-plus
version           : 3.3.10-3
architecture      : x64
section           : base
priority          : optional
name              : Nicotine+
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ,Flavien Schelfaut
description       : Nicotine+ is a graphical client for the Soulseek peer-to-peer network
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/nicotine-plus/nicotine-plus/releases
installed_size    : 94460049
impacted_process  : Nicotine+
description_fr    : Nicotine+ est un client graphique pour le réseau peer-to-peer Soulseek
description_pl    : Nicotine+ to graficzny klient sieci peer-to-peer Soulseek
description_de    : Nicotine+ ist ein grafischer Client für das Peer-to-Peer-Netzwerk Soulseek
description_es    : Nicotine+ es un cliente gráfico para la red peer-to-peer Soulseek
description_pt    : Nicotine+ é um cliente gráfico para a rede peer-to-peer Soulseek
description_it    : Nicotine+ è un client grafico per la rete peer-to-peer Soulseek
description_nl    : Nicotine+ is een grafische client voor het Soulseek peer-to-peer netwerk
description_ru    : Nicotine+ - это графический клиент для пиринговой сети Soulseek
audit_schedule    : 
editor            : Nicotine+ Team
keywords          : soulseek,p2p,network
licence           : GPL-3.0 license
homepage          : https://nicotine-plus.org/
package_uuid      : a47b4f2c-2338-4487-b7b3-65ad56e1f256
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 71aafae6144d56dd64e4491b5a01b22cdc3fdfb8a6b90ee11796cf4ef16a6db6
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-15T14:00:19.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         : c92fgj+rD96TGpPfXSrcfX2t+hHoIw/ft/Vg00j5/HXmeimSwNAe35w/tN0s1wl8d2lquxmPwwdG7RA4Mx4xFJ3w13gPZL/qgJ4BlUa37IkaFiFFjoptWTxxP++FG6ABtlKIqTuJ8F5Zw8FMrF+4unuGVTfBrtww/S4tuHKnPfPuhQeZRzG0AInr4eoJuQBM1WmvpXmdLRS4Ta7hc3N8olNnjWp4ihUWIsQtQA48BoxZH2vZU+7eIr+UvqzWn8l/KWYifmAeZqTR+jhYwhHgwk1npA1Pr3BjrUQJoAGsx9Dl9EpaqfLcAMPkRZ6x0CuyC5HsbJb2I61yEatbl8CYEw==

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


def install():
    # Declaring local variables
    bin_name = glob.glob('Nicotine+-*.msi')[0]

    install_msi_if_needed(
        bin_name,
        name='Nicotine+',
        min_version=control.get_software_version()
    )

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

def update_package():
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    app_name = control.name
    git_repo = "nicotine-plus/nicotine-plus"
    url_api = f"https://api.github.com/repos/{git_repo}/releases/latest"

    os_arch = f"{control.target_os}-{control.architecture}"
    url_os_dict = {
        'windows-x64': 'windows-x86_64-installer.zip',
        'darwin-arm64': 'macos-arm64-installer.zip',
        'darwin-x64': 'macos-x86_64-installer.zip',
        'debian_base-all' : 'debian-package.zip'
    }

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = wgets(url_api, proxies=proxies, as_json=True)
    
    download_url = None
    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(url_os_dict[os_arch]):
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            zip_file = download["name"]
            break

    if download_url is None:
        print(f"No '{url_os_dict[os_arch]}' found in the latest release.")
        return package_updated

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(zip_file):
        print(f"Downloading: {zip_file}")
        wget(download_url, zip_file, proxies=proxies)
    else:
        print(f"ZIP file is present: {zip_file}")

    unzip(zip_file, target=basedir)

    # Delete the ZIP file after extraction
    if isfile(zip_file):
        print(f"Deleted the ZIP file: {zip_file}")
        remove_file(zip_file)

    for f in glob.glob('*.msi'):
        if Version(version) < Version(get_version_from_binary(f)):
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    get_msi_properties

daac502e5429826ef1675a65c792521a640669b8cba59d0587eadbdafee2d352 : Nicotine+-3.3.10-mingw_x86_64_msvcrt_gnu.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f2a50b031c89d2bed96b98df6f7543f44015b29d979be0b26c2bfc2130c1813d : WAPT/control
71aafae6144d56dd64e4491b5a01b22cdc3fdfb8a6b90ee11796cf4ef16a6db6 : WAPT/icon.png
05c108417e2df109e556a94874365d76daeb4cc3bc089323bd0f810154ef78f9 : luti.json
31561cfe0919ff3b4ccb5708731b5b923a0ba4784327f9a42527efd01ffa3abc : setup.py
95b93781bda15594480b8300a2b19b409a01c0ab585bd440cd77186c6f227b98 : update_package.py