tis-sshfs-win icon

SSHFS-Win

Silent install package for SSHFS-Win

3.5.20357-0

  • package: tis-sshfs-win
  • name: SSHFS-Win
  • version: 3.5.20357-0
  • categories: System and network
  • maintainer: Bertrand Lemoigne
  • licence: ©
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 4.98 Mo

package           : tis-sshfs-win
version           : 3.5.20357-0
architecture      : x86
section           : base
priority          : optional
name              : SSHFS-Win
categories        : System and network
maintainer        : Bertrand Lemoigne
description       : SSHFS-Win is a minimal port of SSHFS to Windows. Under the hood it uses Cygwin for the POSIX environment and WinFsp for the FUSE functionality.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.4
sources           : https://github.com/winfsp/sshfs-win
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      : ff8b3eea-8e3f-42f6-91b3-3012ffde0dd5
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9629af314c564a35b55bc781c5aa6c246d276a93cdad91f02af054ef5357bb20
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-24T11: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         : cyQDfU6c0btDKVcuP/xQ6ffItOcRDNd9pPFd/ShsUyIuISqidWb4uTbCd7hqlctZPiucplX7fW0AtMaupC8zao4ISrB6YiRAHyfKmSrdhXq/JBXiCKKECHG32ExWPFuUp9Psl98zqLWpmeQ0oKFgDhNszHvLT1kbrAudwhedVwzwEYSHHq0cCFLGbEnQGRQLUVoeAAVo38nXfvqIqzKsiSacOjJqwFJrGwfb+l5Rg0RgYh+qwa/LZkEMEDlkYr3i8e0B60vTCFbXA8NnDgMwjmTRRZUZFlslJOknF3a37iocoXhYQOhVSiofmqLDihdoT9aEUtog4XGdTnfQwG6SIA==

# -*- 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('*.msi')[0]
    # Installing the software
    print(f"Installing: {bin_name}")
    install_msi_if_needed(bin_name)



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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/winfsp/sshfs-win/releases"
    # api_url = "https://api.github.com/repos/VSCodium/vscodium/releases?page=2"
    update_dict = {
        "bin_contains": {
            "windows-x86": "x86.msi",
            "windows-x64": "x64.msi",
        },
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    dict_result = wgets(api_url, proxies=proxies, as_json=True)
    for tag in dict_result:
        if not 'Beta' in tag['name']:
            print("Tag URL used is: %s" % tag["html_url"])
            for to_download in tag["assets"]:
                if update_dict["bin_contains"][control.target_os + '-' + control.architecture] in to_download["name"]:
                    download_url = to_download["browser_download_url"]
                    version = tag["tag_name"].replace('v','')
                    latest_bin = to_download["name"]
                    break
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    for f in glob.glob('*.msi'):
        if f != latest_bin:
            remove_file(f)

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print("INFO: Binary file version corresponds to online version")
        else:
            error("ERROR: Binary file version do NOT corresponds to online version")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2423bbd090ca9d81429b52e62e4cb5d787da7348fcf050f494d664f85ec0775d : WAPT/control
9629af314c564a35b55bc781c5aa6c246d276a93cdad91f02af054ef5357bb20 : WAPT/icon.png
1afbd7e28242c78e58282fba5e13fc6765963fe357d321d272b67e00bb9b788e : luti.json
a53fa9eab8a4714fa7907693a83f08c2745fa4e8d87fec1ea4aff7771e6d636d : setup.py
9643daf27eb7e384dadc9e64a4299c8d92e6c91e07913e9425f5b19aad3b2ded : sshfs-win-3.5.20357-x86.msi
6274d5e59cf6a2b5b92a283b6a78f89730d8ebb882054e3cee4818f5c6032f18 : update_package.py