tis-double-commander icon

Double Commander

Silent install package for Double Commander

1.1.25-1

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

package           : tis-double-commander
version           : 1.1.25-1
architecture      : x86
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      : 75d5aeaf-c0d2-4628-aca8-57f69a52cba8
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-05T15:03:52.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         : tNGc8m+oMPrFhcaFtk/7HJrXcc5Wk82KO4DBXHUPzmMyUjQOvVKNkqad/U8w076bzjyRAg3pSUU+AAWCl1l2zN+xJ9He/z8KwAkjB6rWOU9TH+5RcJ1W2jZvSc9mxQo+mGQogUSb6y3DGTPqaz3bZs5jbOW8Qj0kBviKl8u/qUzzs4GmA1U7ELnFq99V3++Al/WAA90bzLJyNaHuZI7bUbZrHDmt94w2CpDQGdk2I5mDNvEBrbcaJucayyQekudOoHFwRobRbhiCg3YfGdfEYCh9OFEx8hjfRCksmvzi20s1VyLr/r/+hb9fFygMjTKQk5bRj3L8z7j7WqxV5bv7sA==

# -*- 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
4086bc74034cd3e657d1180af12e0dbea8ef821b8c020fcb76aab29885ff615d : WAPT/control
0c21159cbb2bd72b6e92ae529d049849680e6c7f6014bd369c9a9f4bbf1a8e44 : WAPT/icon.png
171982e1422549a809efa2a1b7aa00e50a6d2ceb2268e334a2b0345a28c3683f : doublecmd-1.1.25.i386-win32.msi
30e9293331b2f7a14d30b389ba5765e3dc26b96f2ab6b0ac1ef1f4d68aae7874 : luti.json
198329aac6d30733fe1ade5433cd1a67aa24fc20f65456977893728312ed9921 : setup.py
cbc07d6925d733c80b0102c4ffb59e6c1740491a18d09e8fa7291f9330d322e5 : update_package.py