tis-spotify icon

Spotify

Silent install package for Spotify

1.2.55.235-32

  • package: tis-spotify
  • name: Spotify
  • version: 1.2.55.235-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.21 Mo
  • installed_size: 251.58 Mo
  • homepage : https://www.spotify.com/download
  • conflicts :

package           : tis-spotify
version           : 1.2.55.235-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      : ae682b53-91cf-441f-bf91-2a62fa226429
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-01-22T10:41:52.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         : TNCQLtotGfeAj/DknUYhj8gKij4DThVTC5Sp+S7qncIe+pP7tQHQusRfdGioJwzKMMmTygmGx4/oO4PFGVRJEhMvUq6bGIrF3UMTa35dOJre8vuDiQJ5sD6YNpX9A7KRuWj00vTn6Kt5Wu3qrdeFMuptJGr56KS6v4aGzT4cHhIM/pGcAlJn/HKMwE6xm7XIkzvny3eQWP4ZCzSZTa7UMzb5W9hHM0M4MyGK4Ri802pOmYZT3h3MWLlSl/9G2Zl2XgkCoDbQYnUThDoeL1hoArpNR3GrVUgzgWRJqxM1wjlIn66OcXA/NoW5b21cnvyoPwemqj5XGDiFIDbG+AqnoQ==

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

2fe94c09694a87b312936c5ebb9e5fe2d7118d8fe9e682668586ad52e42e7dce : Spotify.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
b7a8476d9b6a2eb87e76fbffd06cbfd9f7c5c395af2a4a61847d329f96432b0f : WAPT/control
ae600e0d4b046ee3db8d5e373a749f75516a4e39f2e7295753ace7c30682e8a6 : WAPT/icon.png
ee2690dc7a354d96f07fa7cbb9413d7383ec01dd17dba3f5a98128fe97fb9bc3 : luti.json
43b631e0ee180af1643a0f22e876e6ea3d308568a7bb9f00cb005eadbc935438 : setup.py
8c5ce57776d089b350dd9d31ef765c0a0c1e93527023f055df1d26be86d182be : update_package.py