
MIDIMT
Paquet d’installation silencieuse pour MIDIMT
1.0.6.8-1
- package: tis-midimt
- name: MIDIMT
- version: 1.0.6.8-1
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: MIT License
- target_os: windows
- architecture: x64
- signature_date:
- size: 33.50 Mo
- homepage : https://midi-mt.bitbucket.io/
package : tis-midimt
version : 1.0.6.8-1
architecture : x64
section : base
priority : optional
name : MIDIMT
categories :
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : High Level Application Driver for USB MIDI Control Surface
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Pilote d'application de haut niveau pour surface de contrôle MIDI USB
description_pl : Sterownik aplikacji wysokiego poziomu dla powierzchni sterującej USB MIDI
description_de : High-Level-Anwendungstreiber für USB-MIDI-Steueroberflächen
description_es : Controlador de aplicaciones de alto nivel para superficie de control MIDI USB
description_pt : Controlador de aplicação de alto nível para superfície de controlo MIDI USB
description_it : Driver applicativo di alto livello per la superficie di controllo MIDI USB
description_nl : Stuurprogramma op hoog niveau voor USB MIDI Control Surface
description_ru : Высокоуровневый драйвер приложения для USB MIDI Control Surface
audit_schedule :
editor :
keywords :
licence : MIT License
homepage : https://midi-mt.bitbucket.io/
package_uuid : 2b236727-cc10-46a4-aa08-786a9f0eb5fd
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 3ab9bf38e0905f551b55ff31ddb420c96537e062bf7c40bf8e3feed37a59ec85
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : G3KMP4Gk2e2ND285CdSB3wi7Atg5Va4u5Dld+lz7GRsLtHKsUgh2a0zfLUj3sPXFWHHrswYzci+a5hd4KzB5NY99O7HYnnAynUClw8oBelwKqX+YqMoPymbUQQoQYt8Pms886S40QrUhu95U/MdYLt/zepMuwfOgugWvC2fAhaWJAnnGXIH49uWDGS1BqaUS+zY0L1O7neeU/VgxGG0m8gb8M7dIHph63u+ID+ofy0w8qFoDBHcuq2n4+3gIlPwy91MowLCo3C7frCyNGBuoWK/3q5I7T+TiR3HfHogU0Gj8m+7upAJUXRLBUkvyFdgn1EmK81PRDlYp2M5FrUjjOQ==
signature_date : 2024-07-30T17:04:05.742655
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
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
def install():
# Declaring local variables
bin_name = glob.glob('MIDIMT_*.msi')[0]
# Installing the software
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
dict_arch = {
"x64" : "MIDIMT_x64",
"x86" : "MIDIMT_x64"
}
url_base = "https://midi-mt.bitbucket.io/"
response = requests.get(url_base,allow_redirects=True, proxies=proxies)
# Extract the correct div using bs_find_all
divs = bs_find_all(response.text, "div","class","buttons-wrapper", proxies=proxies)
msi_file = None
for div in divs:
if msi_file:
break
links = div.find_all('a', href=True)
for link in links:
if link['href'].endswith('.msi') and dict_arch[control.architecture] in link['href']:
href = link['href']
msi_file = href
download_url = msi_file
latest_bin = msi_file.split('/')[-1]
version = latest_bin.split("_")[-1].replace(".msi","")
break
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
for f in glob.glob('*.zip'):
if f != latest_bin:
remove_file(f)
version = get_version_from_binary(latest_bin)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
4277cf03cba1369fe82c762f619cdbd16a7a6b3197a2967c08a6c13245ab6190 : setup.py
eba730ac7d092d8156862257ef72d1a51da5b4706a28ab2a3dc20fb532385dcc : update_package.py
3ab9bf38e0905f551b55ff31ddb420c96537e062bf7c40bf8e3feed37a59ec85 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
71e682597240c4ddcef4d79dd1330bfdf63a05bcdddebf2f383dbc2f2480939f : luti.json
b3d9309985ff7dc12eb15518023953f18c6bdfb97c50dad8a5c636af9b97f78d : MIDIMT_x64_1.0.6.8.msi
4ecfd814e9f27c8f3861ff4aad7140b5c4721264b5e487862aa7ecc329a81b97 : WAPT/control