tis-teamviewer
15.9.4-1
TeamViewer is a free software that allows you to share your computer directly with anyone around the world
107582 downloads

Description
- package : tis-teamviewer
- version : 15.9.4-1
- architecture : x64
- categories : Utilities
- maintainer : Tranquilit
- description : TeamViewer is a free software that allows you to share your computer directly with anyone around the world
- locale :
- target_os : darwin
- min_wapt_version :
- sources :
- installed_size : 115748864
- impacted_process : teamviewer
- description_fr : TeamViewer est un logiciel gratuit permettant de partager directement son ordinateur avec n'importe qui à travers le monde.
- description_pl : TeamViewer to darmowe oprogramowanie, które pozwala udostępniać komputer bezpośrednio każdemu na całym świecie.
- description_de : TeamViewer ist eine kostenlose Software, mit der Sie Ihren Computer direkt mit anderen auf der ganzen Welt teilen können.
- description_es : TeamViewer es un software gratuito que le permite compartir su computadora directamente con cualquier persona en todo el mundo.
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor : TeamViewer
- licence : Logiciel propriétaire
- signature_date : 2020-09-18T11:03:53.656776
- Homepage : https://www.teamviewer.com
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import glob
import requests
import shutil
try:
import bs4 as BeautifulSoup
except:
import BeautifulSoup
uninstallkey = []
def install():
install_dmg("TeamViewer.dmg")
def uninstall():
shutil.rmtree('/Applications/TeamViewer.app')
def update_package():
proxies = {}
if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxies = {'http':proxywapt,'https':proxywapt}
if isfile('TeamViewer.dmg'):
remove_file('TeamViewer.dmg')
if not isfile('TeamViewer.dmg'):
wget('https://download.teamviewer.com/download/TeamViewer.dmg',"TeamViewer.dmg",proxies=proxies)
for elem in bs_find_all('https://www.teamviewer.com/en-us/download/windows/','div','class','wpb_wrapper',proxies=proxies):
if 'Changelog' in elem.text:
v = elem.text.split('\n')[1]
control.version = v + '-0'
control.save_control_to_wapt()
def bs_find_all(url, element, attribute=None, value=None, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'}, proxies=None, features='html.parser', **kwargs):
""""You may need to use a header for some websites. For example: headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'}
"""
page = requests.get(url, proxies=proxies, headers=headers, **kwargs).text
soup = BeautifulSoup.BeautifulSoup(page, features=features)
if value:
return soup.find_all(element, {attribute:value})
else:
return soup.find_all(element)