tis-portx-portable icon

PortX

Silent install package for PortX

2.2.13-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.

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

package           : tis-portx-portable
version           : 2.2.13-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          : PREPROD
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      : fba0a100-476a-4b85-8e82-ff7661c28154
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5a538c4d18271bcf57b4d212861601f4690b5191e7dbcb8c43db6a0107c21720
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-09-18T07:27:09.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         : SY0KuUeL9KbjKOtTiK5dXriZXHBTeBPI/G/NT6pkQ50NgMo8gk9tk2152lYbTE7fK7IuYnHjSB8DzTEEpxiMaN6htKd+KSy4Rxpe4E0YHSToSjgldjgaVx/rHosRbubrARkNapTxcdONogNrstnNeSJzKpF+ixxm6WsoaUEYYi/dHdiY66yhSFtg/krp3dyJFn5UObXpKxdw4ooE6Npeu4Zj7RRYRXAE9+Kq/8dtsr1z+qrS6Kr2tkuIWtRItg/ee8A/jOrC/4lRh/VV6Ud6T3s7Up3P8WzFJawvs5N2oQDxqFDXByh1nuB1GqxVs4MLOpDj3Kwo0SCN1UVWKLGhUA==

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

504dadf69d7304b0cc4a97f6c1a90bcba147af6ab06812fdad3cde1dfb10560a : PortX-latest-x64.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
f9d801c65b02711d6a3181a4f6579b3305bffd45a879ca027a21203d703a0afd : WAPT/control
5a538c4d18271bcf57b4d212861601f4690b5191e7dbcb8c43db6a0107c21720 : WAPT/icon.png
298c83cdf9ac570076b8934efd225b7e63a18abbd7018f9ef65cc942b34315e2 : luti.json
cf3a24b254b893d4f38d6ccfb540c9110a27f1514ad53e2f42b165bbb9d645d5 : setup.py
86bd70022410eaba8089a91eea2171dc629a857d491828240a57302780746d27 : update_package.py