tis-nomachine-server

7.10.1-7
NoMachine is a cross-platform remote desktop program developed by NoMachine S.à r.l. The software provides access to remote desktops and applications running on Linux, Windows, Mac and Linux ARM devices
15 downloads
Download
View on luti logo
tis-nomachine-server icon

  Description 

  • package : tis-nomachine-server
  • version : 7.10.1-7
  • architecture : all
  • categories : Utilities
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • description : NoMachine is a cross-platform remote desktop program developed by NoMachine S.à r.l. The software provides access to remote desktops and applications running on Linux, Windows, Mac and Linux ARM devices
  • locale : all
  • target_os : darwin
  • min_wapt_version : 2.0
  • sources : https://www.nomachine.com/download
  • installed_size : 144113664
  • impacted_process : nxclient,nxagent,nxauth,nxclient,nxd,nxdisplay,nxdx32,nxdx64,nxexec,nxfs,nxnode,nxplayer,nxserver,nxservice32,nxservice64
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : NoMachine S.à r.l.
  • licence : Proprietary,GPL
  • signature_date : 2022-06-27T01:04:41.483340
  • Homepage : https://www.nomachine.com/
  • Conflicts :

  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 = 'nomachine_'
app_name = 'NoMachine'


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():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = 'https://www.nomachine.com/download/download&id=7'

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, 'a','href','javascript:void(0)', proxies=proxies):
        if bin_contains in bs_search['onclick']:
            latest_bin = bs_search['onclick'].split("'")[1]
            version = latest_bin.split('_')[1]
            download_url = bs_search['onclick'].split("'")[-2]
            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 update-package-sources
    return result


										

  Changelog 



Changelog software url : https://www.nomachine.com/softwareupdates



No changelog.txt.
									
  manifest.sha256