tis-pwas-for-firefox icon

PWAsForFirefox

Silent install package for PWAsForFirefox

2.13.3-1

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

package           : tis-pwas-for-firefox
version           : 2.13.3-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          : PROD
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      : df97b892-6855-4a38-bce9-0e98db8ed495
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-20T16:16: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         : nx6ubJXMQmwj7mctP0DaxBGxILHWygMYoEBnajv0DU5AtgYTI8SxXZJ9HnYN9Tx0mxDyVVY0Dflc6r1c0zcS/iEI36lzPdmlQ8pkJS1XfIZ+5LjokID5WtfJGq4TPqgyhrcTaxY0E/iQ9R+0FXftCY2S4BXFElbtiRfGwBmY/tC0KmgP0v7ZOGXVZJBWRB/Ja054nMgJU18oFqMM8BOf52SmonxhEMlQxFbJC89j0nKrrIFdSfrFgWJpFcWCFBh5pu8nBf802AXeo2VAGTR3TQN2mQth4nJXQqjMiEOQBaZtxW91BgKYRq1zOHM7o2E3wpX/nSAbg0AxT8fDUwmWyg==

# -*- 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()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
52355c4e96d22fb3511e575f5b08f2804e195d7e5a202e5a69c72dc03c22077d : WAPT/control
9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8 : WAPT/icon.png
51d0a4489ac2790981f235eab2a3e2f8d2f5c37717cac7c8879310301528c532 : firefoxpwa-2.13.3-x86_64.msi
cb4806340475be56e73cee9552aacd165ffa5ea3040a76c62a3a4e41bf7cffae : luti.json
30ac730a4ddfcef342d74a85974add452c0bd82245cf75d86d3a199b7fefa394 : setup.py
2fb0b679867da09cfecea18fb10114ef9d0c55d34a7bc199114225158d623587 : update_package.py