tis-tablacus-portable icon

Tablacus Explorer

Silent install package for Tablacus Explorer

25.6.8-1

  • package: tis-tablacus-portable
  • name: Tablacus Explorer
  • version: 25.6.8-1
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 966.50 Ko
  • homepage : https://tablacus.github.io/explorer_en.html

package           : tis-tablacus-portable
version           : 25.6.8-1
architecture      : x64
section           : base
priority          : optional
name              : Tablacus Explorer
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Tablacus is an alternative of file explorer which provides simple tabbed view and plugin extensibility
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Tablacus est une alternative à l'explorateur de fichiers qui offre une vue simple par onglets et une extensibilité par plugins
description_pl    : Tablacus to alternatywa dla eksploratora plików, która zapewnia prosty widok w kartach i rozszerzalność wtyczek
description_de    : Tablacus ist eine Alternative zum Datei-Explorer, die eine einfache Registerkartenansicht und Plugin-Erweiterbarkeit bietet
description_es    : Tablacus es una alternativa al explorador de archivos que ofrece una vista por pestañas sencilla y extensibilidad mediante plugins
description_pt    : O Tablacus é uma alternativa ao explorador de ficheiros que oferece uma visualização simples por separadores e extensibilidade de plug-ins
description_it    : Tablacus è un'alternativa a File Explorer che offre una semplice visualizzazione a schede e l'estensibilità dei plugin
description_nl    : Tablacus is een alternatief voor de bestandsverkenner dat een eenvoudige weergave met tabbladen biedt en uitbreidbaar is met plugins
description_ru    : Tablacus - это альтернатива файловому проводнику, которая обеспечивает простой вид с вкладками и расширяемость плагинов
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://tablacus.github.io/explorer_en.html
package_uuid      : e415f012-07de-4efc-9905-2a66464548c9
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d3d3e50ba43f34e6533d25601aeea8589118b07e9eefd1cd359b232897b2e6fd
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-16T07:09:48.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         : Czq1LjUjgrfwgn2e8F6H+me4KWa8yo9KjUgriwTcl4rhmWze80J4HerS7Ee5G/d9DDJDfc42/b1NS149RfysVT8n3W8wk2/7kPi/UZc7u4W6Fy5A68m++yGPRoxJExS1ya5L/4sGTf67+z/rQ0kf4bwlcU6dk3Z7EPl4r1v4duhPT49NcOypRl1nPgMV1TA+dnBVRn+uZUXCIDJ7T2gzj8I/cEnZHiHE/JLcjfLf892+qCAs9q8E0ydYhgWuKYPXnPaT7anTBAxb38Pp3LCIMTo6YWtl2zfG2Gp5aLCtOj1I395zzWjeEF+SA/jTbMNIs1h484voy562jIo5xwwqug==

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

"""


"""


app_name = "Tablacus Explorer "
editor_dir = makepath(programfiles, "Tablacus Explorer")
app_dir = makepath(editor_dir, "Tablacus Explorer")
app_path = makepath(app_dir, "TE64.exe")
#icon_path = makepath(app_dir, "resources", "app", "build", "crushee.ico")   #tis-crushee\windows\crushee\resources\resources\build
audit_version = False


def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")


def install():
    # Declaring local variables
    zip_name = glob.glob(f"te*.zip")[0]

    unzipped_dir = "Tablacus Explorer"


    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
    unzip(zip_name, unzipped_dir)
    print('Copy Tablacus Explorer to %s' % app_dir)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)

    # Creating custom shortcuts
    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)


def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    if dir_is_empty(editor_dir):
        remove_tree(editor_dir)

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
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 = "tablacus/TablacusExplorer"
    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))
    version = json_load["tag_name"].replace("v","")
    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.zip') :
            download_url = download["browser_download_url"]
            latest_bin = download["name"]
            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()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4f1c426537b1ecfe89e2c92081f019ae34c78f42ad8f27544350f4b9febb146a : WAPT/control
d3d3e50ba43f34e6533d25601aeea8589118b07e9eefd1cd359b232897b2e6fd : WAPT/icon.png
d31d1d11dea636c6797cb298930d670aa4a3ca2235fda989685e52c9529e4011 : luti.json
0bbfbe627636cecaeb8b70fba32ec4deee88008d1aa69a64578f37b363cd3114 : setup.py
f02cbbff1d7ff3c377c20fa46f2f9fe60a292d73eaa7f9fe0e9647d2ab89d2d2 : te250608.zip
465a9c52935da69c2cd770229d899327b73069b5c847b03be1a8e18410731568 : update_package.py