tis-brave icon

Brave

Silent install package for Brave

142.1.84.132-12
Internet
Internet

  • package: tis-brave
  • name: Brave
  • version: 142.1.84.132-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: 135.99 Mo
  • installed_size: 690.14 Mo
  • homepage : https://brave.com/

package           : tis-brave
version           : 142.1.84.132-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      : 25eb7387-f8f7-4d1b-ac31-324540d466da
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-10-29T23:05: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         : kfw0/qKk//LHymLwU/Q1v11iViAo7puJPMzLCVueHmrsEI93AVn00QafEiFuurN5Opu72vIFwc5g5uB7L9ZGmhe97XC/NTE1KBGGu9bhQ+l0QVbT25Y1uGR6Bf+K0WvQJnWRI72Vzce9TLptR+V2O/7SM3YOClsG6UUshNZpomloIIOimSNnQBkWrrJR2NBUUAaUfiRfbwlCCOIqmx7N6AvyGYgblF/yZEBeSVU/AWBJWfSSIwN5tTM2xNAdThQC1/hHEXr6DxKb1zgPepXVjyWVMrFwRBqhqrBkxOdR3wGLo5NULwq4eQp+lvYHwssL50dFBr31XoBZtNwuP6BeYg==

# -*- 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

6b725d55c8520b51a6493406c78f64a6395a28e96ab1f2166ad1b1863765f5b3 : Brave-Browser-arm64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
9672e83e50fb63b79e692303ea634487c243a715a26ddb6de9372302b4245220 : WAPT/control
0ac229cb58fe612c76230e09124cef96cff2272017a956f69f5f432c7ab63c99 : WAPT/icon.png
681921f46e60a91e863fe0e87b86da3bb0d8fc7b6e7c1260fbca16acb8128824 : luti.json
86c17574e730e187c6e0257cf57a9796135be255e4599be8b835aef6691008a2 : setup.py
5066b40798ac61630a3606f6763e37e254c5f63bc358cb8c0a8c2a570cdf54c4 : update_package.py