tis-portx-portable icon

PortX

Paquet d’installation silencieuse pour PortX

2.2.14-1
Utilities
Utilities

  • package: tis-portx-portable
  • name: PortX
  • version: 2.2.14-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 174.29 Mo
  • homepage : https://portx.online/en/

package           : tis-portx-portable
version           : 2.2.14-1
architecture      : x64
section           : base
priority          : optional
name              : PortX
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : PortX is a lightweight cross-platform SSH and SFTP client
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : PortX est un client SSH et SFTP multiplateforme léger
description_pl    : PortX to lekki, wieloplatformowy klient SSH i SFTP
description_de    : PortX ist ein plattformübergreifender, schlanker SSH- und SFTP-Client
description_es    : PortX es un cliente SSH y SFTP ligero y multiplataforma
description_pt    : PortX é um cliente SSH e SFTP leve e multiplataforma
description_it    : PortX è un client SSH e SFTP leggero e multipiattaforma
description_nl    : PortX is een lichtgewicht cross-platform SSH- en SFTP-client
description_ru    : PortX - это легкий кроссплатформенный клиент SSH и SFTP
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://portx.online/en/
package_uuid      : 91e6f39c-2407-409d-9ef9-620ad035801e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5a538c4d18271bcf57b4d212861601f4690b5191e7dbcb8c43db6a0107c21720
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-11-25T10:14:34.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         : lwnNMzJOII4JC5wYcqJnPtqY+Chw8NABbpHfefF0dvZS/sUUshpzUUL1y2SIueIIAlA10icAJF38Au8Gnj0MXCygRNUh71ghbMWFsLe8f1EmkB80pi3Gu8D775mK6zgcLYxhdeHBE8dkPraJJC0lGgv/eH8iczINWG+4zLunLQ1NZCjOeC+rt8Ot5C6PcifG7AVSwUzv3vEH737MAQaUyrvYRtjs7sM5tUsp9kJ7/q3kY4yHcv6YJNlY69xigiDd76W7Io8q0ztVJzCLpk25cXBYt6fYw2ubihMLaSu/bmINW+m/9tTb5VjZSviefeBEtBZdnPzXtzwSTxidBRJR/Q==

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

app_name = "PortX"

app_dir = makepath(programfiles, app_name)



def install():
    bin_name = glob.glob('*.exe')[0]
    app_path = makepath(app_dir, bin_name)
    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    filecopyto(bin_name, app_path)

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


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    for uninstall in installed_softwares('PortX'):
        uninstall_string = uninstall.get("uninstall_string", "")
        print(f"Uninstalling PortX: {uninstall_string}")
        run(f"{uninstall_string} --uninstall --uninstall -s")
        wait_uninstallkey_absent(uninstall['key'],max_loop=600)
    if isdir(app_dir):
        remove_tree(app_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



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    download_url = "https://cdn.netsarang.com/0ac7ea20/PortX-latest-x64.exe"
    latest_bin = download_url.split("/")[-1]
   

    # 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()    
        

962152c58ed36a1b77f2dfe3960d4e0d40c4b428f00150cc2b0771dc86aaf5c7 : PortX-latest-x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
71a5c0fb7b7f60f2b095bba8181e8ca328f3c7394c15759723263d6c43f66143 : WAPT/control
5a538c4d18271bcf57b4d212861601f4690b5191e7dbcb8c43db6a0107c21720 : WAPT/icon.png
6ac67fa1a1beb807eb56b085bd9bbb480c9fc72761c35b127fa129803fe3faa8 : luti.json
cf3a24b254b893d4f38d6ccfb540c9110a27f1514ad53e2f42b165bbb9d645d5 : setup.py
86bd70022410eaba8089a91eea2171dc629a857d491828240a57302780746d27 : update_package.py