tis-adnarn-portable icon

adnarn

Paquet d’installation silencieuse pour adnarn

1.0-1

  • package: tis-adnarn-portable
  • name: adnarn
  • version: 1.0-1
  • categories: Education
  • maintainer: WAPT Team,Tranquil IT,Joffrey Le Piquet
  • editor: MASEF Team
  • locale: all
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 440.05 Ko
  • homepage : http://masef.com

package           : tis-adnarn-portable
version           : 1.0-1
architecture      : all
section           : base
priority          : optional
name              : adnarn
categories        : Education
maintainer        : WAPT Team,Tranquil IT,Joffrey Le Piquet
description       : DNA reminder
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://www.masef.com/telechargement/adnarn.zip
installed_size    : 
impacted_process  : 
description_fr    : Rappels sur l'ADN
description_pl    : Informacje ogólne na temat DNA
description_de    : Erinnerungen an DNA
description_es    : Antecedentes del ADN
description_pt    : Antecedentes do ADN
description_it    : Informazioni sul DNA
description_nl    : Achtergrond over DNA
description_ru    : Общие сведения о ДНК
audit_schedule    : 
editor            : MASEF Team
keywords          : 
licence           : 
homepage          : http://masef.com
package_uuid      : 70d1802e-c3d8-4cda-bc13-dc891c2bc096
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 1
max_os_version    : 
icon_sha256sum    : b20dbd68414ba338d3261c3e797050dffa76be2c2b73e0b20c325dbe5cecf2f9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T07:56:23.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         : W+s8+C0nzcaIQh1V+zMTTgYycVA2uSKm3DNpRg2zlOinsuaD651McKS8pJlt4WENw42hwEbRXk56Bi++v1/hpPReJR1zqpIYWMxYgXC/2lZvCj0kNCgVBGy8U5+7W/GwbneMbgwEW8ndlw5OrbvItgwyLh6gLALXvKfwBzoKkHNJzjWftn+cRVxx219a+MGYqvY3WbLGzFZubBKxx0sl8Bn+Ixka4z1Y+eXn64Aq00Gya2ivPJAmOuRRJ8mqJjtckNjnEJg4vrluIMP6oyYmvzAKz/HkseTVUBNiWh7SSZN6/pN3hJ3Csl5EnlSGA5Fl+/DjSEUup+RqcuOSSySjLA==

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

app_name = "adnarn"
app_dir = makepath(programfiles, "adnarn")
app_path = makepath(app_dir, "adnarn.exe")

def install():
    bin_name = glob.glob("adnarn.zip")[0]
    mkdirs(app_dir)
    unzip(bin_name, app_dir)

    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)

def audit():
    # Auditing software
    audit_status = "OK"

    if isdir(app_dir) and not dir_is_empty(app_dir):
        print(f"{app_name} is installed")
        audit_status = "OK"
    else:
        print(f"{app_name} is not installed")
        audit_status = "ERROR"
    return audit_status

def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    app_name = control.name

    version = "1.0"
    download_url = "http://masef.com/telechargement/adnarn.zip"
    latest_bin = "adnarn.zip"

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1984cf7f6809de3c923f98f3982b37ab7c926cfd57927debe9339f38b68037a4 : WAPT/control
b20dbd68414ba338d3261c3e797050dffa76be2c2b73e0b20c325dbe5cecf2f9 : WAPT/icon.png
cd870dd133e0b8d708f11dc6804c5bebeb795739f78a3736b0720ad0752f169b : adnarn.zip
f724608469204e5823461d297c2a07c2f8aee65bbf70d9cbedec4794df39388c : luti.json
cda4e7734555423299f24f5ca33034547ddf8a08d98751d6d8822a0c1d624677 : setup.py
94ceb6b4262f9c2fc320b3f25ee364ae0a6ddfb4d91044fc81ea9ab9aa88897e : update_package.py