- package: tis-pwas-for-firefox
- name: PWAsForFirefox
- version: 2.13.2-1
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x86
- signature_date:
- size: 10.53 Mo
- homepage : https://pwasforfirefox.filips.si/
package : tis-pwas-for-firefox
version : 2.13.2-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 : 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 : 50af065e-0008-4e92-ad4e-0c33421a4711
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-04T09:11:05.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 : w3b1q7GAAjWT/udc9c4SKCtiN/Bgqeu3nunddoORQjhjOmqI/4EdmtdttDzUvwEpBerGyGpC10p9qdNU9FpTqr/L3LykQoQuAGilEJIarSjF5Zq2YUKuWjZE5ww29N5F/C7nySQlIkaKgvSEyYbJTiFcF8JVHsXCiZMTRak24rpEYp4AL2DyHQVjvc7Gp33+pjEMEgIO1iBoJOlMQYWGgwzShtTf/pLzNm4UzCaU48H4RmgGm1f2PS3y+ZWdsVQztWJV2TDSpndPA9W/9CEC/aX0oTG+VtiVg7soo0T2rS55qzO42So2LJtKEuXn+hlY/did1mGJa6RvGTVUN89CIg==
# -*- 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
831a0900d1f22c5779469b9cf904acdd5a451d105ccf5b9e08ac9a5928478014 : WAPT/control
9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8 : WAPT/icon.png
c770bdc3485846bc849591aa7ed1349f038abd0408dd401f51f307f0823eda09 : firefoxpwa-2.13.2-x86.msi
d1f68eb6a8d530c4aae4fb6078bc1d731f95c687a5586dba311ab689d678ed2c : luti.json
30ac730a4ddfcef342d74a85974add452c0bd82245cf75d86d3a199b7fefa394 : setup.py
2fb0b679867da09cfecea18fb10114ef9d0c55d34a7bc199114225158d623587 : update_package.py