tis-freetube

0.23.8-1
FreeTube est une application de bureau Open Source qui vous permet de naviguer sur YouTube de manière plus privée
10097 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-freetube icon
  • package : tis-freetube
  • name : FreeTube
  • version : 0.23.8-1
  • categories : Media
  • maintainer : WAPT Team,Tranquil IT,Clément BAZIRET
  • editor :
  • licence : opensource_free,cpe:/a:gnu:agpl_v3,wapt_private
  • locale :
  • target_os : windows
  • impacted_process : FreeTube
  • architecture : x64
  • signature_date : 2025-08-28 15:01
  • size : 84.30 Mo
  • installed_size : 234.53 Mo
  • homepage : https://freetubeapp.io/
package           : tis-freetube
version           : 0.23.8-1
architecture      : x64
section           : base
priority          : optional
name              : FreeTube
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Clément BAZIRET
description       : FreeTube is an Open Source desktop application that allows you to browse YouTube more privately
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/FreeTubeApp/FreeTube/releases
installed_size    : 234527874
impacted_process  : FreeTube
description_fr    : FreeTube est une application de bureau Open Source qui vous permet de naviguer sur YouTube de manière plus privée
description_pl    : FreeTube to aplikacja desktopowa typu Open Source, która pozwala przeglądać YouTube bardziej prywatnie
description_de    : FreeTube ist eine Open-Source-Desktop-Anwendung, die es Ihnen ermöglicht, YouTube noch privater zu durchsuchen
description_es    : FreeTube es una aplicación de escritorio de código abierto que te permite navegar por YouTube de forma más privada
description_pt    : O FreeTube é uma aplicação de ambiente de trabalho de código aberto que lhe permite navegar no YouTube de forma mais privada
description_it    : FreeTube è un'applicazione desktop open source che consente di navigare su YouTube in modo più riservato
description_nl    : FreeTube is een Open Source bureaubladtoepassing waarmee je veiliger door YouTube kunt bladeren
description_ru    : FreeTube - это настольное приложение с открытым исходным кодом, которое позволяет просматривать YouTube в более приватном режиме
audit_schedule    : 
editor            : 
keywords          : freetube,browse,youtube,privately
licence           : opensource_free,cpe:/a:gnu:agpl_v3,wapt_private
homepage          : https://freetubeapp.io/
package_uuid      : 49c64bfa-c22f-4772-bccc-f54c0cd8f2b2
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/FreeTubeApp/FreeTube/releases
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 73690d9ca8dedea327ab056fc2f08fc5117581a030492aea0bb76604247c6cbf
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-28T15:01:22.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         : XylVHG+GVIogQJlEJ61mwaYPQjwlpCHZgAXhWEfwjE39uM7XcXs8/VTRb4oJMlGzrHrNlcX8UFZZU8lBQVAEJA/he/CWK2HJH0VL8LZufpJ3gM1Dhr9Y2nwKP6YGCAbMrUtN1nTyJz+qBnBEOpFPoDw23mo6LSR2AAqRMPMMc2YA8+JvbmFvCvY9F3PLOOfqcTvLwUuk8rNGF2v6iMJd22m9IL/iJW2ClCFyxLRUXCzB3hZV27rXn/+2rsOYo6EvQ0mlX6teZ5Jk4PBTaSet6SI6M1vJHgEXuEMYD+qcVQ+cstrDynzcbWfJkp1d5vWMQTaSAugzpP7XjIStYxx3Kw==
# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("freetube-*-setup-x64.exe")[0]

    # Installing the software
    install_exe_if_needed(
        bin_name,
        silentflags="/S /allusers",
        key="609c326f-6a5e-5cd1-9fc0-6e966fad073f",
        min_version=control.get_software_version(),
    )
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/FreeTubeApp/FreeTube/releases"  # not /latest because releases are all in "pre-release"
    download_dict = {
        "windows-x64": "-setup-x64.exe",
        "windows-arm64": "-setup-arm64.exe",
        "redhat_based-x64": "amd64.rpm",
        "redhat_based-arm64": "arm64.rpm",
        "debian_based-x64": "amd64.deb",
        "debian_based-arm64": "arm64.deb",
        "macos-x64": "-mac-x64.dmg",
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)[0]
    version = json_load["tag_name"].replace("v", "").replace("-beta", "")
    for to_download in json_load["assets"]:
        if download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bd55a3cb835c1dd5cdb9eb47f21f26e1372aeefc0286a6fd30c038d0524c9803 : WAPT/control
73690d9ca8dedea327ab056fc2f08fc5117581a030492aea0bb76604247c6cbf : WAPT/icon.png
3e36b07b2729bcfb8f4bb926835886eb9766c0952d8383538f4942862f17b4a0 : freetube-0.23.8-beta-setup-x64.exe
475db1c72b474579bde39f7e461c0a57551a92906aaf323c3756688b75cb21a7 : luti.json
3027017a37773cabee4e310f283fbd2921c4f7c83813d669ac8ddf7e2f265998 : setup.py
a8443fd9f8ff401b5a3989127c6e18215b57a4aa440c428b4c52ed1a3d35259e : update_package.py