tis-teamviewer 13.1.3629.0-1

  • package : tis-teamviewer
  • version : 13.1.3629.0-1
  • architecture : all
  • locale :
  • description : TeamViewer est un logiciel gratuit permettant de partager directement son ordinateur avec n'importe qui à travers le monde.
  • maintainer : Simon Fonteneau
  • date : 2018-05-13 23:35:18
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

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

uninstallkey = []

def install():
    print('installing tis-teamviewer')
    versionpaquet=get_file_properties("TeamViewer_Setup_fr.exe")['ProductVersion']
    install_exe_if_needed("TeamViewer_Setup_fr.exe", '/S', min_version=versionpaquet)



def uninstall():
        print('Removing Teamviewer')
        run('"%s" %s ' % (makepath(install_location('TeamViewer'), 'uninstall.exe'),'/S'))



def update_package():
    proxy = {}
    #proxy = {'http':'http://srvproxy:3128','https':'http://srvproxy:3128'}
    """Update to current version from macromedia"""
    os.chdir(os.path.dirname(__file__))

    page = wgets('https://www.teamviewer.com/fr/download/windows/',proxies=proxy)
    for line in page.splitlines() :
        if 'TeamViewer_Setup.exe' in line :
            wget(line[line.find('https'):line.find('.exe')]+'.exe','TeamViewer_Setup_fr.exe',proxies=proxy)
            break

    versionpaquet=get_file_properties("TeamViewer_Setup_fr.exe")['ProductVersion']


    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())
    pe.version = versionpaquet + '-0'
    pe.save_control_to_wapt(os.getcwd())


if __name__ == '__main__':
    update_package()
    

Changelog

No changelog
    

manifest.sha256

WAPT/icon.png 027c1e82ee921d53fc19929ef9eef8510e897e12e6f1a4fe4fe84692948c6ace
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj 324f014e8690c45eb9cc515b7b8bf77b5ca20a7e2e283f7d1964197786696fae
TeamViewer_Setup_fr.exe f60062cf21ed42ba0adf64a296f124074ef4ad92b6b58e2f488c4b028a286bf4
setup.py 530dddd03ab5b513b3f79b7c83a4c6e23420b8f498a603130080ce6f6a8d0102
WAPT/control fe947ab646544b56288e7a3ee4d60a7d43ce6f0a0fcbf7ce44810e8a84da3559