- package: tis-pwas-for-firefox
- name: PWAsForFirefox
- version: 2.13.1-1
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x86
- signature_date:
- size: 10.33 Mo
- homepage : https://pwasforfirefox.filips.si/
package : tis-pwas-for-firefox
version : 2.13.1-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 : ffc8141f-343f-4f4a-8f7c-b73b342475ec
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 : 2024-11-12T15:10:12.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 : kmoC888dHR8WQo4qO9holEBfNlxFWdiHbhzK8zX724NpVXTmghxVt0H3eyNDJMIukg2gTx+u2Z3mtNK5HRSEOg12Dg8iHlz6WY35itBeSToa0cH4q+0oVh2oPD2dGTm2p7Ee0fJaX1DuE9/3ofR39pg1HSUHqZ7c6Z9HaQu49hogPaQvzavtmZtjJsNb0XTuPjjJTjA02wsuv2C/yN6jEneT9Rp3/pWitn1VINBlUbwhHbQAPuB6oTzhcnKASUr5chsfrJdj9LBB1h3+xQUIqdYbeT7EdHkJE2QR0kwF9x64wpTRRSc/f1Rogk6p8JkRAKKCRkwq+ddK3qn6NMnmpA==
# -*- 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
847ddcd9cf34739bdc945e227dfd5930ff8201af7bdc9a819f0f762358ff4c2c : WAPT/control
9342e098d7adb8f4d5118e7919175fe4807c6b1e7eb323c55e66971bb00852e8 : WAPT/icon.png
a9a0b58232ea995fbdb36bd4fbc0460a95fe0973e082a5e11f77fd3467a32ca7 : firefoxpwa-2.13.1-x86.msi
7c45bc68a014888ed1d87ad0524c539c80fa18fd8510e61a6be6b13d9af20325 : luti.json
30ac730a4ddfcef342d74a85974add452c0bd82245cf75d86d3a199b7fefa394 : setup.py
2fb0b679867da09cfecea18fb10114ef9d0c55d34a7bc199114225158d623587 : update_package.py