tis-dropbox icon

Dropbox

Paquet d’installation silencieuse pour Dropbox

234.4.5591-22
Utilities
Utilities

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-dropbox
  • name: Dropbox
  • version: 234.4.5591-22
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Dropbox
  • licence: Proprietary
  • locale: all
  • target_os: macos
  • impacted_process: Dropbox,DropboxNativeMessagingHost,DropboxThumbnailGenerator,DropboxUpdate,DropboxCrashHandler,DropboxUpdate,DropboxUpdateBroker,DropboxUpdateOnDemand
  • architecture: all
  • signature_date:
  • size: 335.03 Mo
  • installed_size: 475.89 Mo
  • homepage : https://www.dropbox.com

package           : tis-dropbox
version           : 234.4.5591-22
architecture      : all
section           : base
priority          : optional
name              : Dropbox
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Dropbox is a file hosting service operated by the American company Dropbox, Inc.
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : macos
min_wapt_version  : 2.0
sources           : https://www.dropbox.com/install
installed_size    : 475889664
impacted_process  : Dropbox,DropboxNativeMessagingHost,DropboxThumbnailGenerator,DropboxUpdate,DropboxCrashHandler,DropboxUpdate,DropboxUpdateBroker,DropboxUpdateOnDemand
description_fr    : Dropbox est un service de stockage et de partage de copies de fichiers locaux en ligne proposé par Dropbox, Inc.
description_pl    : Dropbox to usługa hostingu plików prowadzona przez amerykańską firmę Dropbox, Inc
description_de    : Dropbox ist ein Datei-Hosting-Dienst, der von dem amerikanischen Unternehmen Dropbox, Inc. betrieben wird
description_es    : Dropbox es un servicio de alojamiento de archivos operado por la empresa estadounidense Dropbox, Inc
description_pt    : Dropbox é um serviço de alojamento de ficheiros operado pela empresa americana Dropbox, Inc
description_it    : Dropbox è un servizio di file hosting gestito dalla società americana Dropbox, Inc
description_nl    : Dropbox is een dienst voor het hosten van bestanden die wordt beheerd door het Amerikaanse bedrijf Dropbox, Inc
description_ru    : Dropbox - это служба хостинга файлов, управляемая американской компанией Dropbox, Inc
audit_schedule    : 
editor            : Dropbox
keywords          : Cloud
licence           : Proprietary
homepage          : https://www.dropbox.com
package_uuid      : 8a02bec4-7c1a-4aa6-a2df-a045ccfd1255
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.dropboxforum.com/t5/Desktop-client-builds/bd-p/101003016
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d7cf7b7a7280b72d585dd2b1a90a231b482b0a92be35d73080809414648565d9
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-07T18:02:36.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         : CXwBJ6zSrwZwlFSDqPB04v1XuDqAPdcupcMLgc7imh2aftBjAqzDdGYELFniOd/uzDahqIFHw8owZ9BWF/gEkVw1qN9nU75VmgrU8EmTli02SQsYDqOgAwc2ikINxXNVx4MQfh6uMgdq0sVqvy5UtO9kCd+hDGDPxxHRt5xWquGxJ8MqAtaNXKF+PoAUxs+jbfNvcjy3CFM8AI2mnJMIluttn4ReeGFzKHJMVsEwkQ/miMv2XZC1kopCobia4X9qZpQ/76B0jFs0Wh1B19X/Yw83Rpit9c9Y7AgfyZoLMfHC/y+8NqM7xgBIa9wBgckdVDp0D6BSCB9jhQDl4Tb/zg==

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


def install():
    install_dmg(glob.glob("*.dmg")[0])


def uninstall():
    remove_tree("/Applications/Dropbox.app")

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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    download_url = "https://www.dropbox.com/download?plat=mac&type=full"

    # Getting latest version from official website
    download_url = requests.head(download_url, proxies=proxies).headers["Location"]
    latest_bin = download_url.rsplit("/", 1)[1].replace("%20", "_")
    version = latest_bin.split("_")[1].replace(".dmg", "")

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

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

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

    for f in glob.glob("*.dmg"):
        if f != latest_bin:
            remove_file(f)

    # Validating update-package-sources
    return result

55fe9243b649fd6e41495db50bba9cd705ed17fcb165f7bcc0689e50dace84a5 : Dropbox_234.4.5591.dmg
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
2fcfa11f3b24a826c28931ee2b3da0fb81f900c3169324fa164a1afd635bc961 : WAPT/control
d7cf7b7a7280b72d585dd2b1a90a231b482b0a92be35d73080809414648565d9 : WAPT/icon.png
07aae57c44d84b042f89488566b3ad998ddcc559d0a338689428558bd39a9842 : luti.json
8ad6455b6ec3eec77a14c29752b9d1ad5d5d8f4cc0208ceac0a692696fc7b8e6 : setup.py
381298dfa139a8f6e2cfacafef08c550363062bac51d7b8f864ede3460256440 : update_package.py