tis-anydesk

6.4.0-6
Connect to a computer remotely, be it from the other end of the office or halfway around the world. AnyDesk ensures secure and reliable remote desktop connections for IT professionals and on-the-go individuals alike.
7070 downloads
Download
View on luti logo
tis-anydesk icon

  Description 

  • package : tis-anydesk
  • version : 6.4.0-6
  • architecture : all
  • categories : Utilities
  • maintainer : WAPT Team,Tranquil IT,Bertrand Lemoigne,Gaëtan Segat,Jimmy PELÉ
  • description : Connect to a computer remotely, be it from the other end of the office or halfway around the world. AnyDesk ensures secure and reliable remote desktop connections for IT professionals and on-the-go individuals alike.
  • locale : all
  • target_os : darwin
  • min_wapt_version : 2.0
  • sources : https://anydesk.com/downloads
  • installed_size :
  • impacted_process : AnyDesk
  • description_fr : Connectez-vous à un ordinateur à distance, que vous soyez de l’autre côté du bureau ou à l’autre bout du monde. AnyDesk garantit aux professionnels de l’informatique comme aux particuliers mobiles des connexions sûres et fiables aux bureaux à distance
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2022-01-14T17:05:12.981216
  • Homepage : https://anydesk.com

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import bs4 as BeautifulSoup

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
bin_contains = 'anydesk'
app_name = 'AnyDesk'


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob('*%s*.dmg' % bin_contains)[0]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_dmg(bin_name)


def uninstall():
    # Uninstalling the software
    uninstall_app(app_name)


def update_package():
    # Initializing variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = 'https://anydesk.com/downloads/mac-os'
    download_url = 'https://download.anydesk.com/anydesk.dmg'
    sub_bin_name = bin_contains + '_%s' + '.dmg'

    # Getting latest version from official sources
    print('URL used is: %s' % url)
    for bs_search in bs_find_all(url, 'div', 'class', 'd-block', proxies=proxies):
        if bs_search.text.split('v')[1].split('(')[0]:
            version = bs_search.text.split('v')[1].split(' (')[0]
            latest_bin = sub_bin_name % version
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

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

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

										

  Changelog 



Changelog software url : https://download.anydesk.com/changelog.txt



No changelog.txt.
									
  manifest.sha256