tis-windscribe icon

Windscribe

Paquet d’installation silencieuse pour Windscribe

2.19.7-1
Utilities
Utilities

  • package: tis-windscribe
  • name: Windscribe
  • version: 2.19.7-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Kevin Cherel
  • licence: proprietary_free,wapt_private
  • target_os: windows
  • impacted_process: Windscribe
  • architecture: x64
  • signature_date:
  • size: 38.04 Mo

package           : tis-windscribe
version           : 2.19.7-1
architecture      : x64
section           : base
priority          : optional
name              : Windscribe
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Kevin Cherel
description       : Windscribe for Windows offers features that no other VPN does, and you can use them completely free, even with your own VPN servers or other VPN providers!
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.5
sources           : https://api.github.com/repos/Windscribe/Desktop-App/releases/latest
installed_size    : 
impacted_process  : Windscribe
description_fr    : Windscribe pour Windows offre des fonctionnalités qu'aucun autre VPN ne propose, et vous pouvez les utiliser complètement gratuitement, même avec vos propres serveurs VPN ou d'autres fournisseurs de VPN !
description_pl    : Windscribe dla Windows oferuje funkcje, których nie ma żadna inna sieć VPN i można z nich korzystać całkowicie za darmo, nawet z własnymi serwerami VPN lub innymi dostawcami VPN!
description_de    : Windscribe für Windows bietet Funktionen, die kein anderes VPN bietet, und Sie können sie völlig kostenlos nutzen, sogar mit Ihren eigenen VPN-Servern oder anderen VPN-Anbietern!
description_es    : Windscribe para Windows ofrece características que ninguna otra VPN ofrece, y puede utilizarlas completamente gratis, ¡incluso con sus propios servidores VPN u otros proveedores VPN!
description_pt    : Windscribe para Windows oferece caraterísticas que nenhuma outra VPN tem, e pode usá-las completamente grátis, mesmo com os seus próprios servidores VPN ou outros fornecedores de VPN!
description_it    : Windscribe per Windows offre funzionalità che nessun'altra VPN offre, e si possono utilizzare in modo completamente gratuito, anche con i propri server VPN o con altri provider VPN!
description_nl    : Windscribe voor Windows biedt functies die geen enkele andere VPN heeft, en je kunt ze helemaal gratis gebruiken, zelfs met je eigen VPN-servers of andere VPN-providers!
description_ru    : Windscribe для Windows предлагает функции, которых нет ни у одного другого VPN, и вы можете использовать их совершенно бесплатно, даже с вашими собственными VPN-серверами или другими VPN-провайдерами!
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_free,wapt_private
homepage          : 
package_uuid      : 5eeab84d-0ee9-4117-9c19-566cf90d26f4
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 1a68d5b548a806da78380da4363389d7116d660417a046dff2ec2f72d1746c8e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-01-10T20:00: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         : LyRj8apQOa8qFXsA4XuX0LOi2c7BpTDjGL9BmlLwchUjOGaHBcLozFmEwM3uGYF7b7f8Xezyj5OANnpnxg41hIArL2EhdOr6IvC0fbXfP5NSNGNmklc5OHQcG7NJFauYfwx6HK9VcfK72hWs/1LoBorzvA5EzQBx6EZBjsiZBqgsTiuLrqAmJNFfpz0bJ6u50EOrm7yNwP9Wp/RVNI8muyJVeTLkzwc6vPrSrvQMlFuTpyuMiVyntG/FfUK7wzKOkNiHRxLZVTNkyqed2uGGS1ZgZXP2eGTFAj9wsyi0cK+DwHLgGNOyB+QmbSS3LhNVQ/ps7suoDf8ViINu3LUIIQ==

# -*- 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
    os_dict = {
        "windows": ".exe",
        "macos": ".dmg",
        "debian_based": ".deb",
        "redhat_based": ".rpm",
        "opensuse": ".rpm",
        "arch": ".pkg.tar.zst",
    }

    arch_dict = {
        "x64": "amd64",
        "amd64": "amd64",
        "arm64": "arm64",
        "arm": "arm64",
    }

    os_suffix = os_dict[control.target_os]
    arch_prefix = arch_dict[control.architecture]

    # Trouver le binaire correspondant à l'OS et l'architecture
    bin_pattern = f'Windscribe_*_{arch_prefix}{os_suffix}'
    bin_name = glob.glob(bin_pattern)[0]

    # Installing the software
    install_exe_if_needed(bin_name,
        silentflags='-silent -no-auto-start',
        key='{fa690e90-ddb0-4f0c-b3f1-136c084e5fc7}_is1',
        min_version=control.get_software_version(),
    )
    uninstallkey.clear()

def uninstall():
    # Force uninstalling the software
    for to_uninstall in installed_softwares(name="Windscribe"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(ensure_list(control.impacted_process))

        try:
            # Adding silent flags to the uninstall command
            uninstall_command = uninstall_cmd(to_uninstall["key"]) + " /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-"
            run(uninstall_command)
            wait_uninstallkey_absent(to_uninstall["key"], max_loop=60)
        except Exception as e:
            print(f"Error during uninstallation: {e}")
            # Handling the case where Windscribe Director might already be partially uninstalled
            print("Windscribe Director might have already been uninstalled.")
            print("Removing Windscribe Director from the list of installed programs.")

        if uninstall_key_exists(to_uninstall["key"]):
            unregister_uninstall(to_uninstall["key"], win64app=to_uninstall["win64"])

# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
    # Declaring local variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    os_dict = {
        "windows": ".exe",
        "mac": ".dmg",
        "debian_based": ".deb",
        "redhat_based": ".rpm",
        "opensuse": ".rpm",
        "arch": ".pkg.tar.zst",
    }

    arch_dict = {
        "x64": "amd64",
        "amd64": "amd64",
        "arm64": "arm64",
        "arm": "arm64",
    }
    api_url = "https://api.github.com/repos/Windscribe/Desktop-App/releases/latest"
    os_suffix = os_dict[control.target_os]  # Ex: ".exe", ".deb"
    arch_prefix = arch_dict[control.architecture]  # Ex: "amd64", "arm64"
    releases_dict = json.loads(wgets(api_url, proxies=proxies))

    for asset in releases_dict["assets"]:
        url = asset["browser_download_url"]
        # Vérifie que l'URL se termine par l'extension OS ET contient le préfixe arch
        if (url.endswith(os_suffix) and arch_prefix in url):
            url_download = url
            latest_bin = url.split("/")[-1]
            version = releases_dict["tag_name"].lstrip("v")
            exe_found = True
            break

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if isfile(latest_bin):
        remove_file(latest_bin)
    print("Downloading: %s" % latest_bin)
    wget(url_download, latest_bin, proxies=proxies)
    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
291b9f1cfb1403ca00b2d94e6f837edb7b47f4e3a899f1a41b4d830fc5e5f747 : WAPT/control
1a68d5b548a806da78380da4363389d7116d660417a046dff2ec2f72d1746c8e : WAPT/icon.png
106505261ee122d4ddbebc09993c3ee7c7962274af013efc684c064f2f4ee5fa : Windscribe_2.19.7_amd64.exe
8431ef6e7eb31491a00c20555cc4595667cfe163097bba9fd8a57573b74bd3c6 : luti.json
34d07a5cb7ad5c5c02eb5310132ee671ae56b94d7f996f3000fdb4a333e44de0 : setup.py
cd5fab7f399aadc5fe9a14d2b144392509af7d1a0e551cbb67191e61c84de08b : update_package.py