tis-rustdesk

1.3.7-2
RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale
6914 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-rustdesk icon
  • package : tis-rustdesk
  • name : RustDesk
  • version : 1.3.7-2
  • categories : Utilities
  • maintainer : WAPT Team,Tranquil IT,Amel FRADJ
  • editor :
  • licence : opensource_free
  • locale : all
  • target_os : debian(>=10),ubuntu(>=20)
  • impacted_process :
  • architecture : x64
  • signature_date : 2025-01-25 20:13
  • size : 20.15 Mo
  • homepage : https://rustdesk.com/
package           : tis-rustdesk
version           : 1.3.7-2
architecture      : x64
section           : base
priority          : optional
name              : RustDesk
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian(>=10),ubuntu(>=20)
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale
description_pl    : RustDesk to w pełni funkcjonalna alternatywa zdalnego sterowania typu open source do samodzielnego hostingu i bezpieczeństwa przy minimalnej konfiguracji
description_de    : RustDesk ist eine voll funktionsfähige Open-Source-Fernsteuerungsalternative für Selbst-Hosting und Sicherheit mit minimaler Konfiguration
description_es    : RustDesk es una completa alternativa de control remoto de código abierto para el autoalojamiento y la seguridad con una configuración mínima
description_pt    : O RustDesk é uma alternativa de controlo remoto de código aberto com todas as funcionalidades para auto-hospedagem e segurança com configuração mínima
description_it    : RustDesk è un'alternativa di controllo remoto open source completa per l'auto-hosting e la sicurezza con una configurazione minima
description_nl    : RustDesk is een volledig open source alternatief voor afstandsbediening voor zelfbeheer en beveiliging met minimale configuratie
description_ru    : RustDesk - это полнофункциональная альтернатива удаленного управления с открытым исходным кодом для самостоятельного размещения и обеспечения безопасности с минимальной конфигурацией
audit_schedule    : 
editor            : 
keywords          : RustDesk
licence           : opensource_free
homepage          : https://rustdesk.com/
package_uuid      : 89c01879-4031-4894-8775-040adb88049b
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/rustdesk/rustdesk/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 6e1b5881cfd9d438d6aff2c4f9c3f845a728072c75a61d637b842c95b6322a8c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-25T20:13: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         : APH1URgcHNQBmOq5BdWdpcg5/ARu05u3xpo2CAfmicfgnZsHEMfMHRweRO2lwejoMu5eM8COxvkCOauExEFip9nMkSwGpV9Q9V5+2fSkxH0DQUB6VQuZlWNqntK907a6xWFg0DvYRYLevgkinVI4PHkJiyWuA3spyYJdOSbJA122ERgpJdPTpp2rrlFoMB1pS9Si6UiaDWPDLCx78nl+N9PRZBf1+1EcpdmBtYZKAlkeddDsBjwRloakMX78pgQwnYU5x6UM1i13cYbfvK8Gmt8qD6tyBlYAeP4csuXmddOUZ1o6H8aMwgPtdTM3drUgMNEf8o0kb+lJU6Shx79YFw==
# -*- coding: utf-8 -*-
from setuphelpers import *

# 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("*.deb")[0]
    # Installing the software

    install_deb(bin_name)

def uninstall():
    install_apt('bc')
    if not isfile('/etc/systemd/system/rustdesk.service'):
        open('/etc/systemd/system/rustdesk.service','w').write('')
    uninstall_apt('rustdesk')
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob


def update_package():
    # Declaration of local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/rustdesk/rustdesk/releases/latest"
    update_dict = {
        "latest_bin": {
            "windows-x64": "x86_64.exe",
            "windows-x86": "x86-sciter.exe",
            "macos-x64"  : "x86_64.dmg",
            "macos-arm"  : "aarch64.dmg",
            "debian(>=10),ubuntu(>=20)-arm" : "armv7-sciter.deb",
            "debian(>=10),ubuntu(>=20)-arm64" : "aarch64.deb" ,
            "debian(>=10),ubuntu(>=20)-x64" : "x86_64.deb" ,
        }
    }

    # Get data from API
    releases_dict = wgets(api_url, proxies=proxies, as_json=True)
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .msi
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(
                update_dict["latest_bin"][f'{control.target_os}-{ensure_list(control.architecture)[0]}']
            ):
                url_download = asset["browser_download_url"]
                filename = url_download.split("/")[-1]
                last_version = releases_dict["name"].replace("-",".")
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un .exe a été trouvé
                break

    if not isfile(filename):
        package_updated = True
        wget(url_download, filename, proxies=proxies)

    # nettoyer les fichiers temporaires
    for f in glob.glob("*.deb"):
        if f != filename:
            remove_file(f)

    control.set_software_version(last_version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
854cd324a21654422223c13a544784b515864cd86cc7d95ebf80ec7b90846b55 : WAPT/control
6e1b5881cfd9d438d6aff2c4f9c3f845a728072c75a61d637b842c95b6322a8c : WAPT/icon.png
72b67641525a5f5ca503c7803a444159ea91787f4e614784581ca00c59cb99d3 : luti.json
2e5ac2a3d2d381fa5b835f516a8ba2289b9505bb4cb7fad68acf459d889390bf : rustdesk-1.3.7-x86_64.deb
36de7b8df577eeeb55cc7c0b10863b4eeba0187c80dbca12b793bbad12e88acb : setup.py
a38f1604125e1af9a06ab92419fd518fdf77a987b56271a5848c700b912b6c21 : update_package.py