tis-filebot
4.9.4-0
Classer et archivez toutes vos séries TV et tous vos dessins animés grâce à FileBot.
3521 downloads

Description
- package : tis-filebot
- version : 4.9.4-0
- architecture : x64
- categories :
- maintainer : Simon Fonteneau
- description : Classer et archivez toutes vos séries TV et tous vos dessins animés grâce à FileBot.
- locale :
- target_os : windows
- min_wapt_version : 1.5.1.20
- sources :
- installed_size : 123117568
- impacted_process : javaw.exe
- description_fr :
- description_pl :
- description_de :
- description_es :
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor :
- licence :
- signature_date : 2021-10-08T12:35:40.695010
- Depends :
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
versionsoft = control['version'].split('-',1)[0]
install_msi_if_needed('FileBot_%s_x64.msi' % versionsoft,killbefore='javaw.exe')
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}
linkx64 = wgets('https://www.filebot.net/#download',proxies=proxies).split('_x64.msi')[0].split('"')[-1] + '_x64.msi'
filex64 = linkx64.split('/')[-1]
version = filex64.split('_')[-2]
print('Latest Version : ' + version)
allmsi = glob.glob('*.msi')
for msi in allmsi:
vers = get_msi_properties(msi)['ProductVersion']
if vers != version :
print('Delete : ' + msi)
remove_file(msi)
if not isfile(filex64):
print('Download : ' + linkx64)
wget(linkx64,filex64,proxies=proxies)
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
pe.version = version + '-0'
pe.save_control_to_wapt(os.getcwd())
print('The update is complete, you can now test and then launch a build upload.')