tis-floorp icon

Floorp

Silent install package for Floorp

12.3.3-2
Internet
Internet

  • package: tis-floorp
  • name: Floorp
  • version: 12.3.3-2
  • categories: Internet
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
  • licence: opensource_free,wapt_private
  • target_os: windows
  • impacted_process: floorp
  • architecture: x64
  • signature_date:
  • size: 92.97 Mo
  • homepage : https://floorp.app/

package           : tis-floorp
version           : 12.3.3-2
architecture      : x64
section           : base
priority          : optional
name              : Floorp
categories        : Internet
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ,
description       : Floorp is based on Firefox and was built in Japan. It is a new browser with excellent privacy and flexibility
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : floorp
description_fr    : Floorp est construit sur Firefox et a été construit au Japon et est un nouveau navigateur avec une excellente confidentialité et flexibilité
description_pl    : Floorp jest oparty na Firefoksie i został zbudowany w Japonii. Jest to nowa przeglądarka o doskonałej prywatności i elastyczności
description_de    : Floorp ist auf Firefox aufgebaut und wurde in Japan gebaut und ist ein neuer Browser mit ausgezeichneter Privatsphäre und Flexibilität
description_es    : Floorp, basado en Firefox y creado en Japón, es un nuevo navegador con una excelente privacidad y flexibilidad
description_pt    : O Floorp é baseado no Firefox e foi criado no Japão. É um novo navegador com excelente privacidade e flexibilidade
description_it    : Floorp è basato su Firefox ed è stato costruito in Giappone. È un nuovo browser con un'eccellente privacy e flessibilità
description_nl    : Floorp is gebaseerd op Firefox en is gebouwd in Japan. Het is een nieuwe browser met uitstekende privacy en flexibiliteit
description_ru    : Floorp основан на Firefox и создан в Японии. Это новый браузер с отличной конфиденциальностью и гибкостью
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_private
homepage          : https://floorp.app/
package_uuid      : 82994587-e37d-422f-a59c-94888eae06f3
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : a02d6f6074edffb8beccab2ac7d32d024c67eac6cb4927d447b36adc9a0e86d5
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-27T17:00:27.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         : U5cPNk6oNqiMmwevG/TGAQbNLeuwW0RgRb75lQN7eDdYd9PHCuwNiDSyGMvpQUfjKNd+LuV6RlrtmU863EMiSP+p+y8QA+VJba+RzmTxH6wMeYnP0fwtPcO8TemKhutFlVeAlcX0aWR2CPBMweLYPRijG9E9F8P61I2k+2uXlRwwOSzf/SeWFnynFyNjWD9AGobnnOq/QOihaf6lXBGhOqqBGlLQdY1qkk2kFrQ/15/Jb5Xe/CIhR+kEH551PrIZcNjh9UZU1fIs5Nsv4FqpMrZXSxw9enhOXUthqj6jiOvOY/9fhPoAH7Sr3i/1EayHjkrbgiopRenksJRRQ3xaiQ==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"Ablaze Floorp 11.17.8 (x64 en-US)",
   "name":"Ablaze Floorp (x64 en-US)",
   "version":"11.17.8",
   "install_date":"",
   "install_location":"C:\\Program Files\\Ablaze Floorp",
   "uninstall_string":"\"C:\\Program Files\\Ablaze Floorp\\uninstall\\helper.exe\"",
   "publisher":"Mozilla",
   "system_component":0,
   "win64":true
  }

"""
# 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
    version = control.get_software_version()
    # Construire la clé dynamique
    key = f"Ablaze Floorp {version} (x64 en-US)"

    # Uninstalling older versions of the software
    for to_uninstall in installed_softwares(name="Ablaze Floorp"):
        if Version(to_uninstall["version"]) < Version(control.get_software_version()):
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(ensure_list(control.impacted_process))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])
            if isdir(to_uninstall["install_location"]):
                remove_tree(to_uninstall["install_location"])

    # Installing the software
    install_exe_if_needed("floorp-windows-x86_64.installer.exe", silentflags="/S", name="Ablaze Floorp", min_version=control.get_software_version(),get_version=get_soft_version)

def get_soft_version(key):
    return key["version"].split("@")[-1]

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


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

    dict_arch = {"x64" :"x86_64.installer.exe"}
    git_repo = "Floorp-Projects/Floorp"
    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 = wgets(url_api, proxies=proxies, as_json=True)

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.exe') and dict_arch[control.architecture] in download["browser_download_url"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # 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)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d0b29ada86a67b5dc88e11408a68f7178e3d6fd7d44f90a1a5f9ea524a73e59f : WAPT/control
a02d6f6074edffb8beccab2ac7d32d024c67eac6cb4927d447b36adc9a0e86d5 : WAPT/icon.png
cf5dcf94e2ce8508aa6b103613093f88936eed66df0f492f0b98bd19ed297082 : floorp-windows-x86_64.installer.exe
672febdb1d684997c450f0c1128d9bc28f87c377c40bbca40c7b45792bdeeaa5 : luti.json
7ba24673b0b8605e862084fa5035ca7041467987bda8e0d4a54f647c7b528b1a : setup.py
9ab57421e7190c20474cc75414bd3b3369536dc609bdc7c83b6158aaf3d61bb1 : update_package.py