tis-thunderbird icon

Mozilla Thunderbird

Paquet d’installation silencieuse pour Mozilla Thunderbird

140.0-2

  • package: tis-thunderbird
  • name: Mozilla Thunderbird
  • version: 140.0-2
  • categories: Messaging,Utilities
  • maintainer: Simon Fonteneau
  • editor: Mozilla
  • licence: MPL1.1,GPLv2.0,LGPLv2+
  • locale: en
  • target_os: darwin
  • impacted_process: thunderbird
  • architecture: all
  • signature_date:
  • size: 137.29 Mo
  • homepage : https://www.thunderbird.net

package           : tis-thunderbird
version           : 140.0-2
architecture      : all
section           : base
priority          : optional
name              : Mozilla Thunderbird
categories        : Messaging,Utilities
maintainer        : Simon Fonteneau
description       : Mozilla Thunderbird is a free and open-source cross-platform email client, news client, RSS, and chat client developed by the Mozilla Foundation
depends           : 
conflicts         : 
maturity          : PROD
locale            : en
target_os         : darwin
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : thunderbird
description_fr    : Mozilla Thunderbird est un client de messagerie, libre, distribué gratuitement par la fondation Mozilla
description_pl    : Mozilla Thunderbird to darmowy i open-source'owy, wieloplatformowy klient poczty elektronicznej, klient wiadomości, RSS i klient czatu opracowany przez Fundację Mozilla
description_de    : Mozilla Thunderbird ist ein kostenloser und quelloffener, plattformübergreifender E-Mail-, News-, RSS- und Chat-Client, der von der Mozilla Foundation entwickelt wurde
description_es    : Mozilla Thunderbird es un cliente de correo electrónico multiplataforma, cliente de noticias, RSS y chat gratuito y de código abierto desarrollado por la Fundación Mozilla
description_pt    : Mozilla Thunderbird é um cliente de correio electrónico gratuito e de código aberto, cliente de notícias, RSS, e cliente de chat desenvolvido pela Fundação Mozilla
description_it    : Mozilla Thunderbird è un client di posta elettronica multipiattaforma, client di notizie, RSS e chat gratuito e open-source sviluppato dalla Mozilla Foundation
description_nl    : Mozilla Thunderbird is een gratis en open-source cross-platform e-mail client, nieuws client, RSS, en chat client ontwikkeld door de Mozilla Foundation
description_ru    : Mozilla Thunderbird - это бесплатный кросс-платформенный почтовый клиент с открытым исходным кодом, клиент новостей, RSS и чат-клиент, разработанный Mozilla Foundation
audit_schedule    : 
editor            : Mozilla
keywords          : mail,messagerie,imap,pop
licence           : MPL1.1,GPLv2.0,LGPLv2+
homepage          : https://www.thunderbird.net
package_uuid      : d6fe98bd-1072-4397-9bec-787d09824125
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.thunderbird.net/thunderbird/releases/
min_os_version    : 12
max_os_version    : 
icon_sha256sum    : fa4433e9df1b560475197ccd3107e5ad6681153d201e2824de80e208b5ad2962
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-03T00:06:28.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         : pj4MeSGf7AqZOiRMQIh4306PK723o7L4mgIi7xVjzK5BAsH2SiUXBCI3eGCV4NvVNQpG6vi5VsIN3KS8J1sPhydAlg8a9TmE5MBhVExdtcaGf7oUL63cv00KKiu+pQ0q5FtCw1CT2QueCLs627lHf/IWYPVkQG06+DXk/NQ+t4WNe9SHn3XJZfBzmEq1fertQiAD2LCTIXOr2VeEOwkTD6JXXox3LYeiP7A1UtVQ1gnkmCkyMVYSj1iTxKl5Kmcx3/RlBVosz3+o92rdFnCB6Evc4jWzNEzar6OMOvJ1+VhF+tRdVvmI0ExZMwZgcPez9yH5KdBmVgvbyWEDc9DF1w==

# -*- coding: UTF-8 -*-
from setuphelpers import *
import shutil


list_lang = ["fr", "en-US", "es-ES", "de", "it"]


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


def uninstall():
    shutil.rmtree("/Applications/Thunderbird.app")

# -*- coding: UTF-8 -*-
from setuphelpers import *
import time
import shutil
import json

list_lang = ["fr", "en-US", "es-ES", "de", "it"]


def update_package():
    """You can do a CTRL F9 in pyscripter to update the package"""
    """ language : any language supported by wapt """
    """ architecture : x32 or x64 """
    import re, requests, glob

    arch = {"x64": "win64", "x86": "win", "all": "win"}

    proxies = {}
    if isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxies = {"http": proxywapt, "https": proxywapt}

    # Downloading
    lang = control.locale
    # Translating locale
    if "en" in lang:
        lang = "en-US"
    if "es" in lang:
        lang = "es-ES"

    # url = requests.head('https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=%s&lang=%s' % (arch[control.architecture],lang),proxies=proxies).headers['Location']
    # force next
    url = requests.head("https://download.mozilla.org/?product=thunderbird-latest&os=osx&lang=%s" % (lang), proxies=proxies).headers["Location"]

    filename = url.rsplit("/", 1)[1].replace("%20", " ")
    version = filename.split(" ")[-1].split(".dmg")[0]
    datajson = json.loads(wgets("https://product-details.mozilla.org/1.0/thunderbird_versions.json", proxies=proxies))
    version_from_api = datajson.get("LATEST_THUNDERBIRD_VERSION_NEXT", "")
    if not version_from_api:
        version_from_api = datajson["LATEST_THUNDERBIRD_VERSION"]

    url = url.replace(version, version_from_api)
    version = version_from_api.replace('esr','')
    filename = url.rsplit("/", 1)[1].replace("%20", "_")

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

    if not isfile(filename):
        print("Downloading %s from %s" % (filename, url))
        wget(url, filename, proxies=proxies)
    else:
        print(filename + " already exist")

    # Changing version of the package
    control.version = "%s-%s" % (version, "2")
    control.save_control_to_wapt()
    print("Changing version to: %s in WAPT\\control" % control.version)

34a1e19d932e9f01bb7197ff510c72fa3ef97dcfc413839bce5e188e292157db : Thunderbird_140.0.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e400fe8ed7ca2deb6e2506029192c822dd24b894ac2e2851334748b4b44bd89c : WAPT/control
fa4433e9df1b560475197ccd3107e5ad6681153d201e2824de80e208b5ad2962 : WAPT/icon.png
4bf56deeff523e1098ad26793658e2a2d3e3d41b4c160345db39f47711c49f22 : luti.json
33a05cc7920e1b359e622c2a7d47921ee7914aa72873b366039fe54f1c82ee23 : setup.py
2343a28603825798093071b7ed23b9bae13903b0ed04c1bb194956a3e89d2b6e : update_package.py