tis-klogg

22.6-2
Klogg is a multi-platform GUI application that helps browse and search
199 downloads
Download
See build result See VirusTotal scan
tis-klogg icon
  • package : tis-klogg
  • name : klogg
  • version : 22.6-2
  • categories : Development
  • maintainer : WAPT Team,Tranquil IT,Amel FRADJ
  • installed_size :
  • editor :
  • licence : opensource_free,wapt_public
  • signature_date : 2024-09-30T10:05:57.000000
  • size : 12.55 Mo
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : x64
package           : tis-klogg
version           : 22.6-2
architecture      : x64
section           : base
priority          : optional
name              : klogg
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Klogg is a multi-platform GUI application that helps browse and search
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Klogg est une application GUI multiplateforme qui permet de naviguer et de rechercher
description_pl    : Klogg to wieloplatformowa aplikacja GUI, która pomaga przeglądać i wyszukiwać
description_de    : Klogg ist eine plattformübergreifende GUI-Anwendung, die das Durchsuchen und Suchen
description_es    : Klogg es una aplicación GUI multiplataforma que ayuda a navegar y buscar
description_pt    : O Klogg é uma aplicação GUI multiplataforma que ajuda a navegar e a pesquisar
description_it    : Klogg è un'applicazione GUI multipiattaforma che aiuta a sfogliare e a ricercare
description_nl    : Klogg is een multi-platform GUI-toepassing die helpt bij het bladeren en zoeken naar
description_ru    : Klogg - это многоплатформенное приложение с графическим интерфейсом, которое помогает просматривать и искать
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : 
package_uuid      : 5f7d4d99-7fa4-4917-87c5-ecfc9f966a78
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 983711ccb2bf3a1cabeaafd76b247efdcbc2ff76f1a6a48ee714b739c0994065
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-09-30T10:05:57.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         : YlyAv2iLB3CeIU1Ia19c3onmWe6SpCnFpRw9j+o3hpqZJuRqLJPyFpF3g7lXPJei+lwBz/urOqJNQlVv09lu6N++C0TopYVpMyWPmYZmOKFwJz0RdsYRXYvTQ3r2Fg7g6gsnRsWTlQ2YiOAxHsQCZyxOCRp+rMpVzB98NRCRl41PET8HE/vYT32z9hgahOf4mvmVZNEmdMyG6VSKsZa4UH3WAag93w+0LA9aI+tr+mZoyV9ImtyDOWlhw3k+EOcL+2nOLSz7fpZ3BEK8q9UBxF4CyQAZzAZ+XDsyPajevzrYA4+Fd+LfE6++TlcXxidxzKzi5b2MacHaszbU/y1RAQ==
# -*- 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('klogg-*.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/S',
        key='klogg',
        min_version=control.get_software_version(),
    )



# -*- 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()
    
    dict_arch = {
        "x64": "-x64-Qt5-setup.exe",
        "x86": "-x86-Qt5-setup.exe"
    }
    git_repo = "variar/klogg"
    url_api = "https://api.github.com/repos/%s/releases" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    
    # Load JSON response from API
    json_load = json.loads(wgets(url_api, proxies=proxies))

    # Iterate through each release in the JSON response
    for release in json_load:
        # Check if the release contains assets
        for download in release["assets"]:
            if download["browser_download_url"].endswith('.exe') and dict_arch[control.architecture] in download["browser_download_url"]:
                url_dl = download["browser_download_url"]
                version = release["tag_name"].replace("v", "")
                filename = download["name"]
                break

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

    # Clean temporary files
    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
373a68456773c96429fb8067307fad01b5e07a332b9bc6c1dc740bf2f8806394 : WAPT/control
983711ccb2bf3a1cabeaafd76b247efdcbc2ff76f1a6a48ee714b739c0994065 : WAPT/icon.png
2a287c26fdbda57afb1d30c2d8fdd7db23960fe15957ef1ebb113b339a6c7d62 : klogg-22.06.0.1289-Win-x64-Qt5-setup.exe
4b0b89755d86c5304292130bcd4fab80b75c14b7b6e51ba9d9c6a5d333067287 : luti.json
35ee44b5e70f71c48e26310f6b0e5cd4a42f5d03b560094b23d1e7a4dd9607e4 : setup.py
fd8b63abdf368ca6627b72b48a71810944b6cc03c0c3b044c6100cba7d15a7b8 : update_package.py