tis-flamerobin icon

FlameRobin

Silent install package for FlameRobin

0.9.14-3

  • package: tis-flamerobin
  • name: FlameRobin
  • version: 0.9.14-3
  • categories: Utilities,Configuration
  • maintainer: WAPT Team,Tranquil IT,Pierre Cosson
  • editor: https://github.com/mariuz
  • licence: MIT license
  • locale: all
  • target_os: windows
  • impacted_process: flamerobin
  • architecture: x86
  • signature_date:
  • size: 3.88 Mo
  • installed_size: 12.38 Mo
  • homepage : http://www.flamerobin.org/

package           : tis-flamerobin
version           : 0.9.14-3
architecture      : x86
section           : base
priority          : optional
name              : FlameRobin
categories        : Utilities,Configuration
maintainer        : WAPT Team,Tranquil IT,Pierre Cosson
description       : FlameRobin, Firebird DB client
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/mariuz/flamerobin
installed_size    : 12378000
impacted_process  : flamerobin
description_fr    : FlameRobin, client de base de données Firebird
description_pl    : FlameRobin, klient DB Firebird
description_de    : FlameRobin, Firebird DB-Klient
description_es    : FlameRobin, cliente de BD de Firebird
description_pt    : FlameRobin, cliente Firebird DB
description_it    : FlameRobin, client per DB Firebird
description_nl    : FlameRobin, Firebird DB client
description_ru    : FlameRobin, клиент БД Firebird
audit_schedule    : 
editor            : https://github.com/mariuz
keywords          : 
licence           : MIT license
homepage          : http://www.flamerobin.org/
package_uuid      : bb30d82e-8378-450c-81a2-0630b79a6624
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d71521840fea5635bc52b0d4adc80e0bab9108ad7f80cda821a6cff82a40e2d6
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-21T01:00:13.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         : U73outbrSlZn0zpfY5L43MKqoIZFNoRnyOq3waWQ0b2WasVn8NyrhpJFBdyuaRTFGrA4ooWQcUiflp4LVlM1hrM/VFMiz93SA2hWTPQP1xC95/Uy3nELCvUxnzBYcZwNNkKxaPueoUoWhAlkL8WvFXf9YUv9tnCU5sf8nNmdLdcYBNiQXIR+OBD9KntymU0XM/s7WhQxMoqaHqDzLD/klcHiKGSzEHyB6soSpm+ZuMXvr3n9cy2xYmxaUzuRIeH1xYxoluQuzi/mMxEvIZCzLFMMkfBXCBmY116m5fY/meAxlOTRe/wWGVMjjVkAMg6tswBukGCABRFHt08HImGkUQ==

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


def install():
    install_exe_if_needed(
        glob.glob("flamerobin*.exe")[0],
        silentflags="/verysilent",
        name="FlameRobin",
        min_version=control.get_software_version(),
        get_version=get_app_path_version,
    )


def get_app_path_version(key):
    app_path = makepath(key["install_location"] + "flamerobin.exe")
    return get_file_properties(app_path)["FileVersion"]

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/mariuz/flamerobin/releases"
    dict_arch_name = {"x64": "setup-x64.exe", "x86": "setup.exe"}
    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    dict_result = json.loads(wgets(api_url, proxies=proxies))
    for tag in dict_result:
        if not tag["draft"]:
            print("Tag URL used is: %s" % tag["html_url"])
            version = tag["tag_name"].split("-")[-1].replace("v", "")
            version = ".".join(version.split(".")[:3])
            for download in tag["assets"]:
                if dict_arch_name[control.architecture] in download["name"]:
                    download_url = download["browser_download_url"]
                    latest_bin = download["name"]
                    break
            break
    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()
    # Deleting outdated binaries
    for file in glob.glob("*.exe"):
        if file != latest_bin:
            remove_file(file)
    # Validating update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2fec30d6a78c22eba2a45d2242f65a2fc43547e2d0fe58c8f9c5076d95bfff41 : WAPT/control
d71521840fea5635bc52b0d4adc80e0bab9108ad7f80cda821a6cff82a40e2d6 : WAPT/icon.png
4b5660ec2ad4f548d5948098f202adc3cb0aab4ce79d9103ab455c5ddad6d231 : flamerobin-0.9.14-setup.exe
1630f057966445920e0bb737cc0447b2fb6128272d7f9f58f8403bdea8412b67 : luti.json
b427ff22759ed8a90c7005f573f8d8bb85e84a9e1efeefc02d89852c36347d8a : setup.py
0bcb2708d67b47ab9734fb773af6e2176600b8a8d29595a877332737b0edd572 : update_package.py