tis-audiomoth-config

1.12.0-1
The AudioMoth configuration application is an easy-to-use tool for customizing your AudioMoth devices
322 downloads
Download
See build result See VirusTotal scan
tis-audiomoth-config icon
  • package : tis-audiomoth-config
  • name : AudioMoth-Config
  • version : 1.12.0-1
  • categories :
  • maintainer : Amel FRADJ
  • editor :
  • licence : MIT license
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : x64
  • signature_date : 2024-11-24 12:08
  • size : 73.37 Mo
  • homepage : https://www.openacousticdevices.info/
package           : tis-audiomoth-config
version           : 1.12.0-1
architecture      : x64
section           : base
priority          : optional
name              : AudioMoth-Config
categories        : 
maintainer        : Amel FRADJ
description       : The AudioMoth configuration application is an easy-to-use tool for customizing your AudioMoth devices
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/OpenAcousticDevices/AudioMoth-Configuration-App/releases/
installed_size    : 
impacted_process  : 
description_fr    : L'application de configuration AudioMoth est un outil facile à utiliser pour personnaliser vos appareils AudioMoth
description_pl    : Aplikacja konfiguracyjna AudioMoth jest łatwym w użyciu narzędziem do dostosowywania urządzeń AudioMoth
description_de    : Die AudioMoth Konfigurationsanwendung ist ein einfach zu bedienendes Werkzeug, um Ihre AudioMoth-Geräte anzupassen
description_es    : La aplicación de configuración de AudioMoth es una herramienta fácil de usar para personalizar tus dispositivos AudioMoth
description_pt    : O aplicativo de configuração do AudioMoth é uma ferramenta fácil de usar para personalizar seus dispositivos AudioMoth
description_it    : L'applicazione di configurazione AudioMoth è uno strumento facile da usare per personalizzare i dispositivi AudioMoth
description_nl    : De AudioMoth configuratietoepassing is een eenvoudig te gebruiken hulpmiddel om je AudioMoth apparaten aan te passen
description_ru    : Приложение для настройки AudioMoth - это простой в использовании инструмент для настройки ваших устройств AudioMoth
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : https://www.openacousticdevices.info/
package_uuid      : d503969e-db63-4dbf-b558-b88a4f167903
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 105cb6e7a7657dc8d1c6fd6ad66a42b1038e749152b81b710d08a40adf68cf9e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-24T12:08:33.000000
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
signature         : DhiDF9A5ZrprNvv6y4642PMZ+3TPjEnatP/hnzRT8hPZLXtf4l92vvGkczSd89LmuLHaYez+DFyvmbWliPEODGs6M1V3bAOOIC8M+93jU/2QhlIpvJONJ9PvxhQsuQmyNb/eibbyEmHkxHaqtDPfwHjndfJhNwTrdRtZYKdP9BwM2gRV/P/sTQweJ8tbf6e+REWh5RLaE5izcUAgJUu1npXg75sO77lSfdEXNF3wlMDGT2gXayvtWgZZ4cEn41eWFBPB8KzjIcCasUPn8/oG5tQih0c641EfczypNnoJAPq4T8RTqKdZTbTQf5eJ0ff9zWK/Ngxj4ahUJhXJUMk7Gw==
# -*- 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('AudioMothConfigurationAppSetup*.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/S /allusers',
        key='72ce0aad-141a-5968-8116-257e6526c3e9',
        min_version=control.get_software_version(),
    )



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()

    
    git_repo = "OpenAcousticDevices/AudioMoth-Configuration-App"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.exe') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)

    version =get_version_from_binary(filename)        
    control.set_software_version(version)
    control.save_control_to_wapt()
cc5a2b57e8a8dc43b16feabc5c102255c9f9f67450490774c1a30dd0ad2b7e4b : AudioMothConfigurationAppSetup1.12.0.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
960dab9183736a914a9e2802cc865e57396498b6a1d388d7320c29bc2b364e32 : WAPT/control
105cb6e7a7657dc8d1c6fd6ad66a42b1038e749152b81b710d08a40adf68cf9e : WAPT/icon.png
a429fad166d4f61ec103299818604bf3e859078b51cfa1a72111b120a268e608 : luti.json
fbcab7a59d2f14035814c2353572a8b056f0c4a835ea58b1e7a3296cd4eaa56c : setup.py
54acef656fa5386238e9a4d4cfbdf76aae6366101c83f3a965595f5d3705b5d5 : update_package.py