tis-bulk-crap-uninstaller icon

Bulk crap uninstaller

Silent install package for Bulk crap uninstaller

5.8-0

  • package: tis-bulk-crap-uninstaller
  • name: Bulk crap uninstaller
  • version: 5.8-0
  • categories: Utilities
  • maintainer: tisadmin
  • editor: https://github.com/Klocman
  • licence: Apache-2.0 license
  • locale: all
  • target_os: windows
  • impacted_process: BCUninstaller
  • architecture: all
  • signature_date:
  • size: 80.67 Mo
  • installed_size: 201.40 Mo
  • homepage : www.bcuninstaller.com/

package           : tis-bulk-crap-uninstaller
version           : 5.8-0
architecture      : all
section           : base
priority          : optional
name              : Bulk crap uninstaller
categories        : Utilities
maintainer        : tisadmin
description       : Bulk Crap Uninstaller (or BCUninstaller) is a free (as in speech) program uninstaller. It excels at removing large amounts of applications with minimal user input. It can clean up leftovers, detect orphaned applications, run uninstallers according to premade lists, and much more!
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://github.com/Klocman/Bulk-Crap-Uninstaller/releases
installed_size    : 201404416
impacted_process  : BCUninstaller
description_fr    : Bulk Crap Uninstaller (ou BCUninstaller) est un désinstalleur de programmes gratuit (comme dans la parole). Il excelle dans la suppression de grandes quantités d'applications avec un minimum d'intervention de l'utilisateur. Il peut nettoyer les restes, détecter les applications orphelines, lancer des désinstallateurs selon des listes préétablies, et bien plus encore !
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : https://github.com/Klocman
keywords          : uninstall
licence           : Apache-2.0 license
homepage          : www.bcuninstaller.com/
package_uuid      : c4035c02-06b5-4ef4-857c-f8cc7dd44f52
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Klocman/Bulk-Crap-Uninstaller/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 1194cd1c9d88c14886e6183c0180ad062e39e15eb1ec5fb0dbb0b879265da620
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : VN5OkudYTqaXv0K9LUCFWBLgX0/sz6aOd2s4uV9K+yjQhLwmw1N9AYJp78vw1CW19Br6yHVxM1chO0/TXeuFJ/nvjkAaPJgBcYohVif68WwixO619eM+8FYuHRG+YtXKwycND+NrAGSgnp8JKcIwo5Er03m0auzmWnYd7kyWQ+QiSQjSR+9aFuKrHz6Q86VfCx7zp4XzEIMRSZNwruveMSYiaTbaoHwDXQIavExR7ieQGfevdNrkl2UE0Qbdr+ruhYAvD4twfdkYw+n6hSyLakX3HYifxyxiZWdw4eYR8rNkwFhC1nRloRJ3Q1Pz1XIDlQPxaR+LzhVOG+VWgIQdEQ==
signature_date    : 2024-05-16T22:00:40.444263
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

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


def install():
    install_exe_if_needed(
        glob.glob("BCUninstaller*.exe")[0],
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        name="BCUninstaller",
        min_version=control.get_software_version(),
    )

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


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/Klocman/Bulk-Crap-Uninstaller/releases/latest"
    os_dict = {"windows": "setup.exe", "linux": ".AppImage", "darwin": ".dmg"}
    arch_dict = {"x64": "win64.exe", "x86": "win32.exe"}

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for to_download in json_load["assets"]:
        if os_dict[control.target_os] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin).split("-")[0]
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary")
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        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()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

91b64183f5106890694794a3e3deb8fdf02b7dd223e4f97c751295c0267e9d10 : setup.py
b2b91e6dc7a0a02793f16cc29467a31f930d1b12237f93766d7dd9b3ee3972d0 : update_package.py
112208e100bc9ceac52370c9898bcbbee9ecb87e0004400b6c1c93320ad6b083 : BCUninstaller_5.8_setup.exe
1194cd1c9d88c14886e6183c0180ad062e39e15eb1ec5fb0dbb0b879265da620 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f57d2c39be0b0f25c4c11eaf1a878177a786388c51ff4b5560b71105018c6457 : luti.json
87ed627cff1343dfd5ca332f99c0040b5c3bdb45f29e91c068110063defedc6e : WAPT/control