tis-termius-portable

9.27.2-1
Termius isn't a mere SSH client, it's a complete command-line solution
1045 downloads
Download
See build result See VirusTotal scan
tis-termius-portable icon
  • package : tis-termius-portable
  • name : Termius
  • version : 9.27.2-1
  • categories :
  • maintainer : WAPT Team,Tranquil IT,Amel FRADJ
  • editor :
  • licence : https://www.termius.com/terms-of-use
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : all
  • signature_date : 2025-08-03 06:03
  • size : 253.72 Mo
  • homepage : https://termius.com/
package           : tis-termius-portable
version           : 9.27.2-1
architecture      : all
section           : base
priority          : optional
name              : Termius
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Termius isn't a mere SSH client, it's a complete command-line solution
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Termius n'est pas un simple client SSH, c'est une solution complète en ligne de commande
description_pl    : Termius nie jest zwykłym klientem SSH, to kompletne rozwiązanie wiersza poleceń
description_de    : Termius ist nicht nur ein SSH-Client, sondern eine komplette Kommandozeilenlösung
description_es    : Termius no es un mero cliente SSH, es una solución completa de línea de comandos
description_pt    : O Termius não é um mero cliente SSH, é uma solução completa de linha de comandos
description_it    : Termius non è un semplice client SSH, ma una soluzione completa a riga di comando
description_nl    : Termius is niet zomaar een SSH-client, het is een complete commandoregeloplossing
description_ru    : Termius - это не просто SSH-клиент, а полноценное решение для командной строки
audit_schedule    : 
editor            : 
keywords          : 
licence           : https://www.termius.com/terms-of-use
homepage          : https://termius.com/
package_uuid      : c7649fe0-7eb8-4dbf-a0c1-8c50ccb51b15
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5cdb679d14917b224d5e50f6dd028a746341dc98a5ff41c582fa9ba566544bcd
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-03T06:03:23.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         : Ioicz/VbLJapgzw/kKXkjlbEtHF91rug1DDIom1PvtRK1/ixZz/l8PsbAEftTSt1MrKO6+FJs06eaZcvr7Hn8HxvVRFoKrsHNubRf142Z5tALKiallegey/yNJudfTfVck2ViFCM5mflIi68Aw6FGki09LtTiU4JIhvmV8WyXKQHk8tWB3lJKg8RJZx7XMtg2t1r3mJplAu0dVFVyGlrbdeZ+mhyDEO9KtiuPN7tujgHmHmYJFAPYZhTST7XF+qp7/wxnVBPFpxHyXgJDUpLP1bEQI4gU/d+uyRo+t3s9nl45w/BQZXN1Rs9+MYr2CUw12k2DbWr6cb6/4P8JRPMRw==
# -*- coding: utf-8 -*-
from setuphelpers import *
import glob



app_name = "Termius"
app_dir = r"C:\Users\Administrator\AppData\Local\Programs\Termius"

def install():
    # Trouver le premier fichier .exe dans le répertoire courant
    bin_name = glob.glob('*.exe')
    
    if not bin_name:
        raise FileNotFoundError("Aucun fichier .exe trouvé pour l'installation.")
    
    bin_name = bin_name[0]
    app_path = makepath(app_dir, bin_name)
    
    # Tuer tous les processus impactés avant l'installation
    killalltasks(ensure_list(control.impacted_process))
    
    # Supprimer l'installation existante si 'force' est vrai
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    
    mkdirs(app_dir)
    filecopyto(bin_name, app_path)
    
    # Exécuter l'installateur avec le drapeau silencieux
    try:
        run(f'"{app_path}" /S')
    except Exception as e:
        print(f"Erreur lors de l'exécution de l'installateur : {e}")

def uninstall():
    # Killing any impacted processes before uninstallation
    killalltasks(ensure_list(control.impacted_process))
    
    # Command to uninstall Termius silently
    uninstall_cmd = r'"C:\Users\Administrator\AppData\Local\Programs\Termius\Uninstall Termius.exe" /S'
    
    try:
        # Attempt to run the uninstaller with the silent flag
        result = run(uninstall_cmd, accept_returncodes=[0, 3010, 1641])
        print(f"Uninstall command result: {result}")
    except Exception as e:
        print(f"Failed to uninstall Termius: {e}")
    
    if isdir(app_dir):
        remove_tree(app_dir)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    
    # URL de base pour Pale Moon
    
    download_url = "https://autoupdate.termius.com/windows/Install%20Termius.exe"
    latest_bin = download_url.split('/')[-1].replace('%20',' ')
    

    # 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('*.exe'):
        if f != latest_bin:
            remove_file(f)

           
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

06ca80d696dc573f60838e36b40a3c0741cf92622331645a44ad203a23a36336 : Install Termius.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
af0c43ca10aff34625026c69dc0ab28cf8c89dc1cc2b47000108c0ea023c2481 : WAPT/control
5cdb679d14917b224d5e50f6dd028a746341dc98a5ff41c582fa9ba566544bcd : WAPT/icon.png
02ea40f3e3a9113ae2e70fb543f3e3918f7c29fb3228bfefbedf6e00937af6f5 : luti.json
ac56e86389a19b34f2dcaf91e9c5b36372b36a481461d2f744929d9d6018185d : setup.py
ea0a97b44b68202bd3577cc424b12dffc56362db7e3993aa708898b201409808 : update_package.py