tis-tartube-portable icon

tartube

Paquet d’installation silencieuse pour tartube

2.5.145-1

  • package: tis-tartube-portable
  • name: tartube
  • version: 2.5.145-1
  • maintainer: Amel FRADJ
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 144.27 Mo

package           : tis-tartube-portable
version           : 2.5.145-1
architecture      : x64
section           : base
priority          : optional
name              : tartube
categories        : 
maintainer        : Amel FRADJ
description       : Tartube is a graphical user interface for youtube-dlc, youtube-dl and other compatible video downloaders
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Tartube est une interface graphique pour youtube-dlc, youtube-dl et autres téléchargeurs de vidéos compatibles
description_pl    : Tartube to graficzny interfejs dla youtube-dlc, youtube-dl i innych kompatybilnych programów do pobierania wideo
description_de    : Tartube ist eine grafische Benutzeroberfläche für youtube-dlc, youtube-dl und andere kompatible Video-Uploader
description_es    : Tartube es una interfaz gráfica para youtube-dlc, youtube-dl y otros descargadores de vídeo compatibles
description_pt    : O Tartube é uma interface gráfica para o youtube-dlc, youtube-dl e outros descarregadores de vídeo compatíveis
description_it    : Tartube è un'interfaccia grafica per youtube-dlc, youtube-dl e altri scaricatori di video compatibili
description_nl    : Tartube is een grafische interface voor youtube-dlc, youtube-dl en andere compatibele videodownloaders
description_ru    : Tartube - это графический интерфейс для youtube-dlc, youtube-dl и других совместимых загрузчиков видео
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 055f6851-0ad8-4df9-8e47-4bd8dae00061
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e6cdc6dbace859c61dda0248613058374781566a78d2487dd052c50abb3ebaa9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-15T18:06:18.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         : DZ76DJTfpvp7J8JySJjQKrQZ35V+71IrN/m/yYEQ3Ek3ZYgS3UKnJoD81ZR39/CNSFClhdK0LFzZQL6tVIUokqoYXkNKrUoDjA4fhXr3lmYzqEgRN0CtbHLCmynFKYHI9rc2i3YlQQuM+FZjQYmcfpCzNbB0ELhZySuemqCbnkHPgAZDhx+kG+NAZyPhK7CeFHTiRppqeO1WHyvn0kDTbLk3yJPzMrKdFGMBLxsWnLkxgcpYaTj1LYNZIGT1fFt7GOl61AQijmdSa+eahhgeSKNCqfiN7sKLapvltK4Iqc4nQRBjVxXl3yh9nUEylM/8g61n/RYH3edHt+hYtWhgbw==

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

app_name = "tartube"

app_dir = makepath(programfiles, app_name)



def install():
    bin_name = glob.glob('*.exe')[0]
    app_path = makepath(app_dir, bin_name)
    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    filecopyto(bin_name, app_path)

    # Creating shortcuts
    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    for uninstall in installed_softwares('tartube'):
        uninstall_string = uninstall.get("uninstall_string", "")
        print(f"Uninstalling tartube : {uninstall_string}")
        run(f"{uninstall_string} --uninstall --uninstall -s")
        wait_uninstallkey_absent(uninstall['key'],max_loop=600)
    if isdir(app_dir):
        remove_tree(app_dir)

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)

# -*- 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()
   
    
    git_repo = "axcore/tartube"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".exe") :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1797ec2d326dc49d75ab8334d29681684bc4d937eef328abc68d788c42dd71f5 : WAPT/control
e6cdc6dbace859c61dda0248613058374781566a78d2487dd052c50abb3ebaa9 : WAPT/icon.png
f1966d4f1261ca13f76d2de2c44635c02a30cdb7eaa4af8a0b1256f6c8c437f9 : install-tartube-2.5.145-64bit.exe
bdfc6ec70f470bfdf08961d5f101213fb35bc67be4ce1764eacb5f2cbe988c78 : luti.json
4ab3664798a563e3887221a2bd2437839918ce038aa04b5d3d2bf147b363eb64 : setup.py
9e342ceab7d7dccdfdd9b884187588e929627a8e4eace9161b1a35cc544fc988 : update_package.py