tis-spotify icon

Spotify

Paquet d’installation silencieuse pour Spotify

1.2.56.502-32

  • package: tis-spotify
  • name: Spotify
  • version: 1.2.56.502-32
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Spotify AB
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: macos
  • impacted_process: Spotify
  • architecture: all
  • signature_date:
  • size: 139.28 Mo
  • installed_size: 251.58 Mo
  • homepage : https://www.spotify.com/download
  • conflicts :

package           : tis-spotify
version           : 1.2.56.502-32
architecture      : all
section           : base
priority          : optional
name              : Spotify
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Spotify Desktop Client
depends           : 
conflicts         : tis-spotify-uwp
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.3
sources           : https://www.spotify.com
installed_size    : 251578703
impacted_process  : Spotify
description_fr    : Client Spotify pour Bureau
description_pl    : Spotify Desktop Client
description_de    : Spotify Client für den Desktop
description_es    : Spotify Desktop Client
description_pt    : Spotify Desktop Client
description_it    : Spotify Desktop Client
description_nl    : Spotify Desktop Client
description_ru    : Spotify Desktop Client
audit_schedule    : 
editor            : Spotify AB
keywords          : spotify,music,online,listen,streaming,play,digital,album,artist,playlist
licence           : proprietary_free,wapt_public
homepage          : https://www.spotify.com/download
package_uuid      : 5f4d4b0d-d6c8-487d-9662-c0b990f0cc91
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ae600e0d4b046ee3db8d5e373a749f75516a4e39f2e7295753ace7c30682e8a6
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-02-04T15:58:39.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         : AYcYhTqXvx9tX2wqFnPJPfSvXAORezXrH29G/MXCeTuOKEaeb25jVq1QBnJONIs1nnQkalmYFFe+H/8mTQjN6O7Hc/mXqOjJbuYYYekvAiy/kxuQN0Jq47tS3BCJz1S+1W+8lasr0KPygan92Mk3Hf0CNKuzcdBLjwm1jJrkXLrdCDckCs21KuCln8zXZFPEoCxar9jJctyJjjdA1iGiJvYgQ0SWWXu9M7bNL+vgNJeL4zFTPYw/2BwW+EzILaRwlb+l+yQI9cgw8J8pCQInx45drSfv6iRyM/431VdypjDrI4IvD7qekA0ToX80pST18tMEc5g/6MfDbWVd0b5q5Q==

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
app_dir = "/Applications/Spotify.app"


def install():
    if isdir("/Applications/SpotifyInstaller"):
        remove_tree("/Applications/SpotifyInstaller")

    install_dmg("Spotify.dmg")


def uninstall():
    # Uninstalling the software
    if isdir(app_dir):
        remove_tree(app_dir)

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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    url_dl = "http://download.spotify.com/Spotify.dmg"
    latest_bin = url_dl.split("/")[-1]

    print("Download url is: %s" % url_dl)

    # Downloading latest binaries
    if isfile(latest_bin):
        remove_file(latest_bin)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        mount_dmg(latest_bin)

        version = get_plist_obj("/Volumes/Spotify/Spotify.app/Contents/Info.plist")['CFBundleVersion']
        unmount_dmg("/Volumes/Spotify")

        # Getting version from binary and renaming binary
    #        version = get_product_props(latest_bin)["FileVersion"]

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return result

59518dc908eb61499140bc71c014c3a66872b283086e30ae340687bd204c7a3d : Spotify.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1c77b00159a988e009433d246c6d9ee3eb443ad43f3e5adad5507691c6c65c50 : WAPT/control
ae600e0d4b046ee3db8d5e373a749f75516a4e39f2e7295753ace7c30682e8a6 : WAPT/icon.png
4f469dda3728f5508f61002ae76bf55060f0a7aa023b3eb0b78c799a72df7bc9 : luti.json
43b631e0ee180af1643a0f22e876e6ea3d308568a7bb9f00cb005eadbc935438 : setup.py
8c5ce57776d089b350dd9d31ef765c0a0c1e93527023f055df1d26be86d182be : update_package.py