tis-electronmail icon

ElectronMail

Paquet d’installation silencieuse pour ElectronMail

5.3.4-1
Messaging
Messaging

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-electronmail
  • name: ElectronMail
  • version: 5.3.4-1
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Vladimir Yakovlev
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_private
  • locale: all
  • target_os: windows
  • impacted_process: ElectronMail
  • architecture: x64
  • signature_date:
  • size: 174.11 Mo
  • installed_size: 575.38 Mo
  • homepage : https://github.com/vladimiry/ElectronMail/releases

package           : tis-electronmail
version           : 5.3.4-1
architecture      : x64
section           : base
priority          : optional
name              : ElectronMail
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : ElectronMail is an Electron-based unofficial desktop client for ProtonMail
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 575378777
impacted_process  : ElectronMail
description_fr    : ElectronMail est un client de bureau non officiel basé sur Electron pour ProtonMail
description_pl    : ElectronMail to oparty na Electronie nieoficjalny klient ProtonMail na komputery stacjonarne
description_de    : ElectronMail ist ein Electron-basierter inoffizieller Desktop-Client für ProtonMail
description_es    : ElectronMail es un cliente de escritorio no oficial basado en Electron para ProtonMail
description_pt    : ElectronMail é um cliente de desktop não oficial baseado em Electron para o ProtonMail
description_it    : ElectronMail è un client desktop non ufficiale basato su Electron per ProtonMail
description_nl    : ElectronMail is een op Electron gebaseerde onofficiële desktopclient voor ProtonMail
description_ru    : ElectronMail - это неофициальный настольный клиент ProtonMail на базе Electron
audit_schedule    : 
editor            : Vladimir Yakovlev
keywords          : protonmail,email,electronmail
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_private
homepage          : https://github.com/vladimiry/ElectronMail/releases
package_uuid      : 8ad6cc94-7928-4cf8-b973-d118550acf85
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/vladimiry/ElectronMail/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 7b2f03b071e41b0f73959012fcbf3e568e4ab60584a15bebea1a7cdb9cd72c8c
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-15T10:43:42.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         : rBvCK1QFIPxqE5AB1omvbYIXZSGjO2OYV++cuq0vOYUWB6/M63cB82G4gq+VErJbRPhm/WJli+F1UmZfUkr/2J6AOng4jOHcMJW7EFAgWoAuhVIb48b9PmhiWMS2t75G+sshco4EeQ9ie2b9V/E3do6s1S2jeyTeOnEf7A2iWVZi+uLhUAYSQislx0YR17jTG1hD4To7pNaxLcN6a5i0dT17LFlgHwM0wmXZ8EdIY75nbIDAyOK5hqbZHoNXQ2SrWCFMsbTSM5XqO217kODUCaDFaxAhs33kwUXNE21nI4Ta/HtMh9CqWW4uLUda1SG6tuk3erO2QzBr0VZM4ciDuA==

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


def install():
    bin_name = glob.glob("electron-mail-*-windows-x64-nsis-installer.exe")[0]
    install_exe_if_needed(
        bin_name, silentflags="/allusers /S", key="dda31663-c6b6-5593-afb9-19792a7a8c9d", min_version=control.get_software_version()
    )

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

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {
        "windows": "x64-nsis-installer.exe",
        "x64": "x64-nsis-installer.exe",
        "arm64": "arm64-nsis-installer.exe",
        "arm": "arm64-nsis-installer.exe",
        "macos": ".dmg"
    }
    target_filename = update_dict[control.target_os]

    api_url = "https://api.github.com/repos/vladimiry/ElectronMail/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].replace("v","")
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    version = get_version_from_binary(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
59369c9231bb1a9f7cb8f4253a9286ec0554fde53589d210575103f203c471a8 : WAPT/control
7b2f03b071e41b0f73959012fcbf3e568e4ab60584a15bebea1a7cdb9cd72c8c : WAPT/icon.png
fd6aaba6d463a33c15c939eee0c8c82088e5dabed3dd1d0ae4a98e1903170ded : electron-mail-5.3.4-windows-x64-nsis-installer.exe
561c111817248dc8024403b212e6ad51662a09f1c60b47a2b07a13ebe1b138e0 : luti.json
d4c485d9a739aba60f7169b7221b0273936da91c77d386d37035ba6ab62dcf88 : setup.py
c729799c7a370c5b39389b30c549b700d6143fa07ec8dc3df1b4a0335da8f071 : update_package.py