tis-windirstat

2.0.3-7
WinDirStat (Windows Directory Statistics) is a disk usage statistics viewer and cleanup tool for Windows. On start up, WinDirStat reads the whole directory tree once and then presents it in three useful views
1926 downloads
Download
See build result See VirusTotal scan
tis-windirstat icon
  • package : tis-windirstat
  • name : WinDirStat
  • version : 2.0.3-7
  • categories : System and network,Utilities
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Ingrid TALBOT
  • editor :
  • licence :
  • locale : all
  • target_os : windows
  • impacted_process : windirstat
  • architecture : x86
  • signature_date : 2024-10-28 10:06
  • size : 2.34 Mo
  • installed_size : 4.34 Mo
package           : tis-windirstat
version           : 2.0.3-7
architecture      : x86
section           : base
priority          : optional
name              : WinDirStat
categories        : System and network,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Ingrid TALBOT
description       : WinDirStat (Windows Directory Statistics) is a disk usage statistics viewer and cleanup tool for Windows. On start up, WinDirStat reads the whole directory tree once and then presents it in three useful views
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 1.8
sources           : 
installed_size    : 4342208
impacted_process  : windirstat
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 407222da-881e-4557-8604-9f4a0866118d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9522a2b913ddf66016280e78506a7eaa94f3c23a75b0fa1a1d5d1bdaed228e66
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-10-28T10:06:07.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         : yrMp1m4/5jB8EQwynT4wCMNn2LfhD0kfeIUPwW+dmaGLSzq7wio+8Mwpu3IOUj5x0YklzVZ6Qj4P5EujNakDFHkfDxPXV98pxECT8buI8RijPSnyztHHg0c47FGyaJMaEQYmD9c2RwunhxOSYnHhOfRM904iiDfoKtESmtDcJWYGnczu5nxEDRFaj2xf9hyhvMzlAbTQ3EDiSHgxEQJTPLToIynroHMTK/nNsRXUeEZ2cxrt8Xm0gPAIuA2F/5PGhkdX6/K0f17lwpHgLW88anPEiOVOF/kT1eJkUQu/2GSOLihw9s+fFv8HeIR6n5RFehmAPHMtuJu2DCWPLkaHEA==
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json

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

"""
def install():
    # Declaring local variables
    bin_name = glob.glob('WinDirStat-x86.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_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()
    update_dict = {"windows": "x86.msi"}
    api_url = "https://api.github.com/repos/windirstat/windirstat/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    msi_found = False  # Flag pour indiquer la découverte d'un fichier .msi
    for release in releases_dict:
        if msi_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith("x86.msi") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].split(" ")[1]
                msi_found = True  # Mettre à jour le flag pour indiquer qu'un msi a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.msi"):
        if f != latest_bin:
            remove_file(f)

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

    control.set_software_version(version)
    control.save_control_to_wapt()






38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3e666050d6a5dfc0b6fed6eb8e218d76bde31eccb30bd579a3f643eafac11f51 : WAPT/control
9522a2b913ddf66016280e78506a7eaa94f3c23a75b0fa1a1d5d1bdaed228e66 : WAPT/icon.png
9c8a8c55ad40daa7389ff255650e36d7abe0f054ec183c8914f02a696644e1a1 : WinDirStat-x86.msi
9068e0bb569d23d682f573741a53b468e712a147dfd4df128abc5ffecbf33d34 : luti.json
e1147e08cead7cfe33c31497ab05c2ce1eb7d27c92ba58abc170d9f9548fe191 : setup.py
a2c3e9eac760223929a4da1ba569d8b1db4c36ebc279f12fea83fdcc58632255 : update_package.py