tis-pwas-for-firefox icon

PWAsForFirefox

Silent install package for PWAsForFirefox

2.18.4-1
Development
Development

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-pwas-for-firefox
  • name: PWAsForFirefox
  • version: 2.18.4-1
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 8.40 Mo
  • homepage : https://pwasforfirefox.filips.si/

package           : tis-pwas-for-firefox
version           : 2.18.4-1
architecture      : x86
section           : base
priority          : optional
name              : PWAsForFirefox
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : A tool for installing, managing and using Progressive Web Applications (PWAs) in Mozilla Firefox
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Un outil pour installer, gérer et utiliser des applications Web progressives (PWA) dans Mozilla Firefox
description_pl    : Narzędzie do instalowania, zarządzania i korzystania z progresywnych aplikacji internetowych (PWA) w przeglądarce Mozilla Firefox
description_de    : Ein Werkzeug zur Installation, Verwaltung und Nutzung von Progressive Web Apps (PWA) in Mozilla Firefox
description_es    : Una herramienta para instalar, gestionar y utilizar aplicaciones web progresivas (PWA) en Mozilla Firefox
description_pt    : Uma ferramenta para instalar, gerir e utilizar Progressive Web Applications (PWAs) no Mozilla Firefox
description_it    : Uno strumento per l'installazione, la gestione e l'utilizzo delle Progressive Web Application (PWA) in Mozilla Firefox
description_nl    : Een hulpmiddel voor het installeren, beheren en gebruiken van Progressive Web Applications (PWA's) in Mozilla Firefox
description_ru    : Инструмент для установки, управления и использования прогрессивных веб-приложений (PWA) в Mozilla Firefox
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://pwasforfirefox.filips.si/
package_uuid      : e20286e4-0148-4e77-8eb3-b9770ca28c10
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-06-23T11:34:24.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         : pjxcsXMQ9iv/6EWsWsRU6641fQ7vADsRnoabPVNi2KUPR4jG0pwgAODRroheR1hKlaRAcsA/LTYPWA8LPTEzCfE1lM2x65JZ/PVSeZdB2db1+jtroa8lheWn8n5FRRoSfX4eL0RPdjMlDgcqqt6iW3uN4qnXRvE5du7AS9A83b9xhHz1Kbw21H+Tlvr4Ieyz9jtdmb8mYCTH/fKmZPJTVK5z+RWag1DghPVeahACKuyW7Leb1ze/M7kuak5t+5NM8NeXP0RM3NCBvH3dLazi1/QE+iy4j9tODkWgVzbOMyyqU/3lyrjm3MZ41AXKZsWJZYcYJ1MXo7dDzgYmGkqyrA==

# -*- 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('firefoxpwa-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



# -*- 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()
    dict_arch = {
        "x64" :"-x86_64.msi",
        "x86" :"-x86.msi"
    }
    git_repo = "filips123/PWAsForFirefox"
    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('.msi') and dict_arch[control.architecture] in  download["browser_download_url"] :
            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('*.msi'):
        if f != filename:
            remove_file(f)

    version =get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
2b72e6d97cc401ac5513be606aae7d53a23972505dfb008b966d058c5abd0eee : WAPT/control
9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8 : WAPT/icon.png
f1191c1ba577ef0f2bfdc28acb3bf55a5f5e6310151339e59750d2c1abbda961 : firefoxpwa-2.18.4-x86.msi
8ffc498105f07bafc9c6a1ca00e7518aa17f56276648d607078eb49f0b540396 : luti.json
30ac730a4ddfcef342d74a85974add452c0bd82245cf75d86d3a199b7fefa394 : setup.py
2fb0b679867da09cfecea18fb10114ef9d0c55d34a7bc199114225158d623587 : update_package.py