tis-pwas-for-firefox icon

PWAsForFirefox

Paquet d’installation silencieuse pour PWAsForFirefox

2.16.0-1

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

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

package           : tis-pwas-for-firefox
version           : 2.16.0-1
architecture      : x64
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      : 1c44dcea-7f0e-4b79-9910-6e96088a97bc
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-09-15T06:41:21.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         : RV+722HoN/vDkAw71h1aDNWCCCgzZsvR4aX1UYfi2mjjbUYvsy+yhuSRPKti8f+qtp/6b0gQ9MnXV9l5M6cfIubwFIEbZ5Ejl3akxUCflT4p6dmCY+WHjyJIlZVex5yFrH1cVCf/CHVkAXxL0JYS7VnWLyHTdIAmyxQPcDgxsWyf1fit2mbWzAZG+A0QNl0VXig4y/obQFSBm5Ly6FSMrlHh35NdbcbNUgrboPw9w5BgpJ48mp152vXKLKYePDwticQNTc95umOF9vhmx0GU+33sMmdkbCrn1oNQ2Qdmex/+Dp7StOI5nK2E19Lu+7fpeaAkWqdEd0z2uf1d6NuABQ==

# -*- 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
8a7547f1b6c853806fd2b524fae72ae920590eff2fa75b8c578f45ca71d19ce8 : WAPT/control
9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8 : WAPT/icon.png
4bd0658232d374ba1618ec7447c27b0197dae834b5f2a4636e1fb99a363bffa1 : firefoxpwa-2.16.0-x86_64.msi
657489dad50d11b62d82f17e05984c913dfbd1552136edcd8266a8122f094ef3 : luti.json
30ac730a4ddfcef342d74a85974add452c0bd82245cf75d86d3a199b7fefa394 : setup.py
2fb0b679867da09cfecea18fb10114ef9d0c55d34a7bc199114225158d623587 : update_package.py