tis-openhashtab icon

OpenHashTab

Silent install package for OpenHashTab

3.0.5-1

  • package: tis-openhashtab
  • name: OpenHashTab
  • version: 3.0.5-1
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 8.18 Mo
  • homepage : https://github.com/namazso/OpenHashTab

package           : tis-openhashtab
version           : 3.0.5-1
architecture      : x64
section           : base
priority          : optional
name              : OpenHashTab
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : OpenHashTab is a shell extension for easy calculation and verification of file hashes from file properties
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : OpenHashTab est une extension de shell permettant de calculer et de vérifier facilement les hachages de fichiers à partir des propriétés de fichiers
description_pl    : OpenHashTab to rozszerzenie powłoki, które ułatwia obliczanie i sprawdzanie skrótów plików przy użyciu ich właściwości
description_de    : OpenHashTab ist eine Shell-Erweiterung zur einfachen Berechnung und Überprüfung von Dateihashes anhand von Dateieigenschaften
description_es    : OpenHashTab es una extensión de shell que facilita el cálculo y la comprobación de hashes de archivos mediante sus propiedades
description_pt    : O OpenHashTab é uma extensão da shell que facilita o cálculo e a verificação de hashes de ficheiros utilizando as propriedades do ficheiro
description_it    : OpenHashTab è un'estensione di shell che semplifica il calcolo e la verifica degli hash dei file utilizzando le loro proprietà
description_nl    : OpenHashTab is een shell-extensie waarmee je eenvoudig hashes van bestanden kunt berekenen en controleren aan de hand van bestandseigenschappen
description_ru    : OpenHashTab - это расширение оболочки, которое позволяет легко вычислять и проверять хэши файлов с помощью их свойств
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://github.com/namazso/OpenHashTab
package_uuid      : 7598183d-4ae7-4e40-8f22-16ab9b14c136
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b784be90b2c11e13d47b5d539830f02fec9f7fed319a5252a7c74df55383cf08
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-25T08:00:12.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         : AyDpDosRM8i7mZT51kpSraAXg2F5TAZwdDZTP7vL6PUoE4TRjBug/yK7vLFSc/iLMRB7A+TSSJKRTTH0GR5kuco3mpcPy5dSqiq1GGIznrQcU24ZOd20+A/p385WZE/ynOIUqJDbMLU/MeYJS5PUzyGhf6ZcltLr4hNdkl9MhpG3fBLatGejVNrXAQXNBXXCC40dH7DQUBSqB6f0zsv2VNSHfUhM7Jjn+D9cB55yLvyt0uqmiHQcPbfNd1ORT4taDiE4mMM7mZhWII+J0VbCn70GlPSXqHFohDaPeJJGFuDv6vaL0Z6Cei95I1JbkauiPqI3Mye6jPfNfN61n08dFQ==

# -*- 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

    # Installing the software
    install_exe_if_needed('OpenHashTab_setup.exe',
        silentflags='/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /ALLUSERS /RESTARTEXITCODE=3010',
        key='{C0EEE3CD-665D-4E4E-B3BC-ADCD0FE73C0F}_is1',
        min_version=control.get_software_version(),
        get_version=get_version,
        timeout=600,
    )


def get_version(app_registry_dict):
    return app_registry_dict["version"].split("v")[-1]
    
    



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

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


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    
    git_repo = "namazso/OpenHashTab"
    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)

    version =get_version_from_binary(filename).split('v')[-1]
    control.set_software_version(version)
    control.save_control_to_wapt()

98fb1f2d230dfa0a26915c5b314881fbb9fa76b9edbb720fdeaca35f3cb35f95 : OpenHashTab_setup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2fb53685e2b6f39e708ecb46867219aab733dbd7cc1d75de9d4a4e168999f54c : WAPT/control
b784be90b2c11e13d47b5d539830f02fec9f7fed319a5252a7c74df55383cf08 : WAPT/icon.png
8eb94485254f8e981399d56f5076fc38c0e219173fa223beebc3e24a64dd7a3f : luti.json
5622e6e6242d9a52e33bbe8b85226d7ac7690eb7d7ea5118bc88673d57a4fde8 : setup.py
fcdbe134302d48683770a36cd03dc172e2802113426e3dc9910d52ad41c7b8e6 : update_package.py