tis-bdnf icon

BDnF

Silent install package for BDnF

2.1-1

  • package: tis-bdnf
  • name: BDnF
  • version: 2.1-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT, Joffrey Le Piquet
  • editor: Bibliothèque nationale de France
  • locale: all
  • target_os: windows
  • impacted_process: D
  • architecture: x86
  • signature_date:
  • size: 214.71 Mo
  • homepage : https://bdnf.bnf.fr/fr

package           : tis-bdnf
version           : 2.1-1
architecture      : x86
section           : base
priority          : optional
name              : BDnF
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT, Joffrey Le Piquet
description       : BDnF lets you create comic strips, graphic novels or any other story combining illustration and text.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://bdnf.bnf.fr/fr
installed_size    : 
impacted_process  : D
description_fr    : BDnF permet de réaliser des bandes dessinées, des romans graphiques ou tout autre récit mêlant illustration et texte.
description_pl    : BDnF umożliwia tworzenie komiksów, powieści graficznych lub innych historii łączących ilustracje i tekst.
description_de    : Mit BDnF können Sie Comics, Graphic Novels oder jede andere Erzählung, die Illustrationen und Text miteinander verbindet, erstellen.
description_es    : BDnF te permite crear cómics, novelas gráficas o cualquier otra historia que combine ilustración y texto.
description_pt    : O BDnF permite-lhe criar bandas desenhadas, romances gráficos ou qualquer outra história que combine ilustração e texto.
description_it    : BDnF consente di creare fumetti, romanzi grafici o qualsiasi altra storia che combini illustrazioni e testo.
description_nl    : Met BDnF kun je stripverhalen, graphic novels of andere verhalen maken die illustratie en tekst combineren.
description_ru    : BDnF позволяет создавать комиксы, графические романы или любые другие истории, сочетающие иллюстрации и текст.
audit_schedule    : 
editor            : Bibliothèque nationale de France
keywords          : 
licence           : 
homepage          : https://bdnf.bnf.fr/fr
package_uuid      : d36590db-9ca6-47d7-8df3-892b082c5237
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 78c7039b80d6903c3a615611a55abe536b5ee7440848e4aaaea3c58f12b76047
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-31T14:01:09.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         : meaHt6nLd+YYKYErSjcGrp/hjZv7R3CaabLxvBFLPuNOAfL9YLt0bBzL7LJKjFiHfGFKJidOuZDDmrtcFc2sQ4WrXBvLWqF+3eWCmFMzHfLcLRaxrWkzBS/1DdRcGVyWOJUZIG0Cnq2VBw2ljAIUP4nhOo5G4W3aNRUPQsLN6tIEpexNr+XV8UgRnhYV6Q608ZzMGU/tbX5UUpONFCPDNK7oaEce17c+N5aLRNVC3vuqRH7VrAJSfXqmjn3I5kLn2Pi3mZTdeHDa3C/IgAsRbOOXl2Y6oAELPXM58DKnpWjnsYq/mo/yVmxTwNx+uwxf7EIxsBnnaWuNmikOX3xS2w==

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

def install():

    arch_dict = {
        "x64": "BDnF-Setup-x64.exe",
        "x86": "BDnF-Setup-x86.exe"
    }

    bin_name = arch_dict[ensure_list(control.architecture)[0]]

    app_uninstallkey = "{BE33AC5A-5E1F-4EF4-8F80-72F62C1A3528}_is1"

    install_exe_if_needed(
        bin_name,
        f'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',
        key=app_uninstallkey,
        min_version=control.get_software_version()
    )

    quiet_uninstall_string = uninstall_cmd(app_uninstallkey) + " /SUPPRESSMSGBOXES"
    register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)

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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies_from_wapt_console()

    if not proxies:
        proxies = get_proxies()

    url = "https://bdnf.bnf.fr/fr"
    version = "2.1"

    # Getting latest version from official sources
    for bs_search in bs_find_all(url, "a", "href", proxies=proxies):
        if "bdnf-windows" in bs_search['href']:
            download_url = url.replace("/fr","") + bs_search["href"]
            latest_bin = bs_search["href"].split("/")[-1]
            break

    if (not isfile(latest_bin)) or (Version(version) > contol.get_software_version()):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        result = True

    unzip(zipfn=latest_bin,target=basedir,filenames=["*.exe"],extract_with_full_paths=False)
    remove_file(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return result

bb8871128696b8077b7c1d89fa374ecfe4c2b66707bd8d1035e1b777c3d165ba : BDnF-Setup-x64.exe
43fc64ae568766402f1eee4b43720992bfc75755b42d3fdfc4223b5704e458e6 : BDnF-Setup-x86.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c0a459764b5d602e87c11fa1c8dfd3f73eae89897c50c7a6f67862439a2a5767 : WAPT/control
78c7039b80d6903c3a615611a55abe536b5ee7440848e4aaaea3c58f12b76047 : WAPT/icon.png
1ee803bf88a3433157a3155acbcda18edca708ac164ed52baee9546499f8e7b3 : luti.json
47fefd5e4a3d9e86a9dda7ed8e500c564fc968d294512d5f66f85f85642669d5 : setup.py
9c3dcf52abb9e927e70301b2e7848d7407d5e6198e44eecd312d54e55b0ef518 : update_package.py