tis-double-commander icon

Double Commander

Silent install package for Double Commander

1.1.26-1

  • package: tis-double-commander
  • name: Double Commander
  • version: 1.1.26-1
  • maintainer: Amel FRADJ
  • licence: GPL-2.0 license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 17.05 Mo
  • homepage : doublecmd.sourceforge.io

package           : tis-double-commander
version           : 1.1.26-1
architecture      : x64
section           : base
priority          : optional
name              : Double Commander
categories        : 
maintainer        : Amel FRADJ
description       : Double Commander is a cross-platform open source file manager with two side-by-side panels. It takes its inspiration from Total Commander and offers a few new ideas
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Double Commander est un gestionnaire de fichiers open source multiplateforme avec deux panneaux côte à côte. Il s'inspire de Total Commander et propose quelques idées nouvelles
description_pl    : Double Commander to wieloplatformowy menedżer plików typu open source z dwoma panelami obok siebie. Jest inspirowany Total Commander i oferuje kilka nowych pomysłów
description_de    : Double Commander ist ein plattformübergreifender Open-Source-Dateimanager mit zwei nebeneinander liegenden Panels. Er orientiert sich an Total Commander und bietet einige neue Ideen
description_es    : Double Commander es un gestor de archivos multiplataforma de código abierto con dos paneles uno al lado del otro. Está inspirado en Total Commander y ofrece algunas ideas nuevas
description_pt    : O Double Commander é um gestor de ficheiros de código aberto multiplataforma com dois painéis lado a lado. É inspirado no Total Commander e oferece algumas ideias novas
description_it    : Double Commander è un gestore di file open source multipiattaforma con due pannelli affiancati. Si ispira a Total Commander e offre alcune idee nuove
description_nl    : Double Commander is een cross-platform open source bestandsbeheerder met twee zij-aan-zij panelen. Het is geïnspireerd door Total Commander en biedt een paar nieuwe ideeën
description_ru    : Double Commander - это кроссплатформенный файловый менеджер с открытым исходным кодом и двумя панелями, расположенными бок о бок. Он вдохновлен Total Commander и предлагает несколько новых идей
audit_schedule    : 
editor            : 
keywords          : 
licence           : GPL-2.0 license
homepage          : doublecmd.sourceforge.io
package_uuid      : c299ddb9-54df-40b3-bca1-878fef93bf21
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 0c21159cbb2bd72b6e92ae529d049849680e6c7f6014bd369c9a9f4bbf1a8e44
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-12T12:00:15.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         : bARDrDgyTXgvtRzvLeadt2PRLAxI9bKoWekLUh3pAWWXdzve8dzg3edblbjx2Z6iwtcNSmdn2tppOIGE6KmHr+9iFLcF7QyZXt4YIzj04bDPItwaywRQLgkaRgLFVgnmbkBaRShJf2bUlCwCcvuzXppuU8UtQzTH5tNXzV1HH5R4cZuvTpSAKndAb7ohE6HHnql78cCLgmVh74SdeVk0lvDT0o/4imrmeSObUcrGAnGIIGQwLjyXzDBlrrOKxJPWMs6xUY9dnndv3Y+hcTL7ptsXbYLGyDoawAbHINXdtD5T/aHYbiSr2Su4k1sveaiLZ0pLMfucSBMeZj54Y7ZFuQ==

# -*- 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("doublecmd-*.msi")[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



# -*- 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" :"x86_64-win64.msi",
        "x86"  : "-win32.msi"
    }
    git_repo = "doublecmd/doublecmd"
    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('.msi') and dict_arch[control.architecture] in download["browser_download_url"] :
            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('*.msi'):
        if f != filename:
            remove_file(f)
    version =get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dfb8d209579ade4843f3100c108578120632a8f9e02a46438742044903396078 : WAPT/control
0c21159cbb2bd72b6e92ae529d049849680e6c7f6014bd369c9a9f4bbf1a8e44 : WAPT/icon.png
302c412343f42b85f6434e462a7051c4ed01927cf1734c24db3c293ea9a2a4fc : doublecmd-1.1.26.x86_64-win64.msi
59e4c151fa23230766fc4f6e088e9c2b885c7ca63203ac3a194c90131757aafb : luti.json
198329aac6d30733fe1ade5433cd1a67aa24fc20f65456977893728312ed9921 : setup.py
cbc07d6925d733c80b0102c4ffb59e6c1740491a18d09e8fa7291f9330d322e5 : update_package.py