tis-brave icon

Brave

Silent install package for Brave

142.1.84.139-12
Internet
Internet

  • package: tis-brave
  • name: Brave
  • version: 142.1.84.139-12
  • categories: Internet
  • maintainer: WAPT Team,Tranquil IT,Flavien Schelfaut,Jimmy PELÉ
  • editor: Brave Software, Inc.
  • licence: opensource_free,cpe:/a:mozilla:public_license_2.0,wapt_public
  • locale: all
  • target_os: darwin
  • impacted_process: brave,brave_vpn_helper
  • architecture: x64
  • signature_date:
  • size: 151.20 Mo
  • installed_size: 690.14 Mo
  • homepage : https://brave.com/

package           : tis-brave
version           : 142.1.84.139-12
architecture      : x64
section           : base
priority          : optional
name              : Brave
categories        : Internet
maintainer        : WAPT Team,Tranquil IT,Flavien Schelfaut,Jimmy PELÉ
description       : Brave is a free and open-source web browser developed by Brave Software, Inc. It blocks ads and website trackers, and provides a way for users to send cryptocurrency contributions in the form of Basic Attention Tokens to websites and content creators
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://github.com/brave/brave-browser/releases/latest
installed_size    : 690141109
impacted_process  : brave,brave_vpn_helper
description_fr    : Brave est un navigateur web gratuit et open-source développé par Brave Software, Inc. Il bloque les publicités et les traqueurs de sites web, et permet aux utilisateurs d'envoyer des contributions en crypto-monnaie sous la forme de jetons d'attention de base à des sites web et à des créateurs de contenu
description_pl    : Brave to darmowa i otwarta przeglądarka internetowa opracowana przez Brave Software, Inc. Blokuje ona reklamy i elementy śledzące witryn internetowych, a także zapewnia użytkownikom możliwość wysyłania kryptowalut w postaci tokenów Basic Attention Token do witryn internetowych i twórców treści
description_de    : Brave ist ein freier und quelloffener Webbrowser, der von Brave Software, Inc. entwickelt wurde. Er blockiert Werbung und Website-Tracker und bietet Nutzern die Möglichkeit, Kryptowährungsbeiträge in Form von Basic Attention Tokens an Websites und Inhaltsersteller zu senden
description_es    : Brave es un navegador web gratuito y de código abierto desarrollado por Brave Software, Inc. Bloquea los anuncios y los rastreadores de sitios web, y permite a los usuarios enviar contribuciones en criptomoneda en forma de Basic Attention Tokens a sitios web y creadores de contenidos
description_pt    : O Brave é um navegador web gratuito e de código aberto desenvolvido pela Brave Software, Inc. Bloqueia anúncios e rastreadores de sítios Web e fornece uma forma de os utilizadores enviarem contribuições em criptomoeda sob a forma de Basic Attention Tokens para sítios Web e criadores de conteúdos
description_it    : Brave è un browser web gratuito e open-source sviluppato da Brave Software, Inc. Blocca gli annunci e i tracker dei siti web e offre agli utenti la possibilità di inviare contributi in criptovaluta sotto forma di Basic Attention Token a siti web e creatori di contenuti
description_nl    : Brave is een gratis en open-source webbrowser ontwikkeld door Brave Software, Inc. Het blokkeert advertenties en website trackers, en biedt een manier voor gebruikers om cryptocurrency bijdragen in de vorm van Basic Attention Tokens te sturen naar websites en content creators
description_ru    : Brave - свободный веб-браузер с открытым исходным кодом, разработанный компанией Brave Software, Inc. Он блокирует рекламу и трекеры сайтов, а также предоставляет пользователям возможность отправлять криптовалютные взносы в виде токенов Basic Attention Tokens на сайты и создателям контента
audit_schedule    : 
editor            : Brave Software, Inc.
keywords          : browser,navigateur,brave,chromium
licence           : opensource_free,cpe:/a:mozilla:public_license_2.0,wapt_public
homepage          : https://brave.com/
package_uuid      : a4f1bcaa-947b-4ac5-8d6b-a67b1b70ab45
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://brave.com/latest/
min_os_version    : 11
max_os_version    : 
icon_sha256sum    : 0ac229cb58fe612c76230e09124cef96cff2272017a956f69f5f432c7ab63c99
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-11-12T22:08:15.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         : qPoX4fyeCz7dxWri7BhYoME1QU079RfwZfTaY9cl4y9zyYOcMRsyyeVHUSSL2bVih71NzZJQaqMWokKSlz04boXV6rObsgNmmD4Ay8bBIbCzsJ+VF4i++Ejx5akrmcezYpGgPNLb8gi+FOB2EUGLl2gpudFl7WQBTRXm6W5Jgm7dLee7Y/fOsWb65R8RPaYHKctgeN2fxK6lTuwGhKboduC7dEZiuk4oKVQ/vgzJHt+Lc/U2yquYxE0KZDYRUcDncMSGjgSbEXhncwSxw+FqIDEM1uHYti7Q3Sv4LTECOlns9wUEOYsJaVeoyC0bRYvaAfYlRtAfxAywbAkHRWE9Bg==

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


def install():
    bin_name = "Brave-Browser-x64.dmg"
    install_dmg(bin_name)


def uninstall():
    uninstall_app("Brave Browser")

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    download_dict = {
        "windows-x64": "BraveBrowserStandaloneSetup.exe",
        "windows-x86": "BraveBrowserStandaloneSetup32.exe",
        "windows-arm64": "BraveBrowserStandaloneSetupArm64.exe",
        "darwin-x64": "Brave-Browser-x64.dmg",
        "darwin-arm": "Brave-Browser-arm64.dmg",
    }

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    git_repo = "brave/brave-browser"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    print("API used is: %s" % url_api)
    json_load = wgets(url_api, proxies=proxies, as_json=True)

    chromium_version = json_load["name"].split('Chromium')[-1].strip(' )')
    brave_version = json_load["tag_name"].replace('v', '')
    version = f"{Version(chromium_version, 1)}.{Version(brave_version, 3)}"

    for download in json_load["assets"]:
        if download["name"] == download_dict[os_type]:
            download_url = download["browser_download_url"]
            latest_bin = download["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

4c3e6ca56c901e157c1b49ecdb506e231f70932e3de0baf7e5ac3ed34d098c8c : Brave-Browser-x64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
fb81433842256e0c6bb85e77839f9ae175e6f6a74f9e7de42a398d6cd0935faa : WAPT/control
0ac229cb58fe612c76230e09124cef96cff2272017a956f69f5f432c7ab63c99 : WAPT/icon.png
47961d2f5dbbdfc46b615e348f31180b0a213b7d35e9202918abc8c3d52a5b6c : luti.json
b1e50a2bd29e780921d69b94ee7f9acabed1b44fbd99a06e8e5bbc47b6d2a634 : setup.py
5066b40798ac61630a3606f6763e37e254c5f63bc358cb8c0a8c2a570cdf54c4 : update_package.py