tis-bleachbit icon

BleachBit

Silent install package for BleachBit

5.0.2-1
System and network
System and network

  • package: tis-bleachbit
  • name: BleachBit
  • version: 5.0.2-1
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 16.41 Mo
  • homepage : https://www.bleachbit.org/

package           : tis-bleachbit
version           : 5.0.2-1
architecture      : all
section           : base
priority          : optional
name              : BleachBit
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Clean up your system and free up disk space
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Nettoyez votre système et libérez de l'espace disque
description_pl    : Oczyść system i zwolnij miejsce na dysku
description_de    : Bereinigen Sie Ihr System und geben Sie Speicherplatz frei
description_es    : Limpia tu sistema y libera espacio en disco
description_pt    : Limpe o seu sistema e liberte espaço no disco
description_it    : Pulire il sistema e liberare spazio su disco
description_nl    : Ruim je systeem op en maak schijfruimte vrij
description_ru    : Очистите систему и освободите место на диске
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://www.bleachbit.org/
package_uuid      : 4075077c-5f3e-416f-b686-968c1c8f0de8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9fdb4ee281b7cbb9945b16bf09d9e58df5ea97c221b0f24527a63d3d7d91bfd1
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-25T05:00:24.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         : XVAljkcRMMf51qnLEcrd9GAdt+aw35or/LzNG1+VeLNoJYBFFUQ7mU4lLpgyDNFSq1OBN19d7nFhzpfA/UmaZLOpcjhAWfyEqvNmSzWIAMHMjyvd0EkYz/Goiikq+wVhKUlsu8s23ZqQr2d7zHq5klSkthIw75k9XoRRzPD7KCNzgUQ2SUvqVLtkqkr0S/i1k3fxMG9KcHSN97uXj/rYuz+QlpZoGewv3SOHv/9xmQue6m+lRy79Ijyi62N8oA79oawHy2qNr5Ku2nPXYFBmJ6dZsBZnm9fAGX3jWtPbiMnWHy36o2BD1hl7XMZsqrFBRDdQL0lNqY7e0fB8wpfycA==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name= glob.glob('BleachBit-*-setup.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/S /allusers ',
        key='BleachBit',
        min_version=control.get_software_version(),
    )




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



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

  
    url_base = "https://www.bleachbit.org/download/windows"
    response = requests.get(url_base,allow_redirects=True, proxies=proxies)
    # Extract the correct div using bs_find_all
    divs = bs_find_all(response.text, "li", proxies=proxies)
    exe_file = None
    for div in divs:
        if exe_file:
            break
        links = div.find_all('a', href=True)
        for link in links:
            if link['href'].endswith('.exe'):
                href = link['href']
                exe_file = href
                latest_bin = exe_file.split('=')[-1]
                download_url = "https://download.bleachbit.org/" + latest_bin
                version = latest_bin.split('-')[-2]
                break


    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.zip'):
        if f != latest_bin:
            remove_file(f)

           
    
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

14ba97054fd77564bf8e050916dba44235c0e32eb60fc9c20cce3c9b844028dd : BleachBit-5.0.2-setup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
362315f0fe0c067e83cb13e554fe4865bccaee8416e07a4db91d7ccb5291a4d4 : WAPT/control
9fdb4ee281b7cbb9945b16bf09d9e58df5ea97c221b0f24527a63d3d7d91bfd1 : WAPT/icon.png
311ad3f89fa67afe487b37aacf7e5dd1c4044afadca6c4960f0168ddaff1416f : luti.json
8148bee5c2185ddfa9013aebec8cacd223134eff8997bf465e6f5f35c2e0341b : setup.py
dac1b255f57ec4f80b4f19de5708aadf49f84530272e757e553260e0ea6b2b59 : update_package.py