tis-brave icon

Brave

Silent install package for Brave

153.1.95.104-12
Internet
Internet

  • package: tis-brave
  • name: Brave
  • version: 153.1.95.104-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: arm
  • signature_date:
  • size: 223.32 Mo
  • installed_size: 690.14 Mo
  • homepage : https://brave.com/

package           : tis-brave
version           : 153.1.95.104-12
architecture      : arm
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      : d5017521-2eb7-4549-ad7e-fa771f8c089d
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    : 2026-09-19T03:00:40.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         : ts3zzDmGHBM6Ij+WtnjsNB3//d+QNK13QguBXOaudeRUUAMgQ5dxOnxbfC/x0EcDqyiDOdBm4kQRHtwQzvy9YexXtN/X8fnGJRnQyUN2uuntpUWy12GxAWSx2agdCdfL+6a8Wk6b5jTKbb1G5evH07hT9yQfheAY0O8byF6fIjSH9/nkxJS6hQxq+0nPo7fXHGacXUc2R3HTpWcSR+Do6Sg9N3HugluMf0rnQzlNCz44pM8MiMOBCHQ/xRIUBN0/3snbJwKfoiVNkP8ubwhQFxl4h6tFHxmeaAKKkWzMY+OOlgLPwhg7Ti9hQ31mwLSfbcO4cv5ZZo2WcdN2wqCeHA==

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


def install():
    bin_name = "Brave-Browser-arm64.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

f6823d53b3e9a287b8f8830b728ba9b34fe2d4a9f6ee4e05b3bcd4a21ee25eaf : Brave-Browser-arm64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4e574e226575fdb161a176803af7e8ec02a87897fec0b669845be995dc6c4ce0 : WAPT/control
0ac229cb58fe612c76230e09124cef96cff2272017a956f69f5f432c7ab63c99 : WAPT/icon.png
c6cf1102c1de586e2e9bc01a2b563394b46d6e5263a64766647ac986de27b10f : luti.json
86c17574e730e187c6e0257cf57a9796135be255e4599be8b835aef6691008a2 : setup.py
5066b40798ac61630a3606f6763e37e254c5f63bc358cb8c0a8c2a570cdf54c4 : update_package.py