tis-waterfox icon

Waterfox

Silent install package for Waterfox

6.0.18-1

  • package: tis-waterfox
  • name: Waterfox
  • version: 6.0.18-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: Mozilla Public License Version 2.0
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 69.63 Mo
  • homepage : https://www.waterfox.net/

package           : tis-waterfox
version           : 6.0.18-1
architecture      : x64
section           : base
priority          : optional
name              : Waterfox
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Use this version of Waterfox if you want to benefit from the latest Web features, if you want to use all Web extensions and some Bootstrap extensions
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Utilisez cette version de Waterfox si vous souhaitez bénéficier des dernières nouveautés du Web, si vous souhaitez utiliser toutes les extensions Web et quelques extensions Bootstrap
description_pl    : Użyj tej wersji przeglądarki Waterfox, jeśli chcesz korzystać z najnowszych osiągnięć internetowych, jeśli chcesz korzystać ze wszystkich rozszerzeń internetowych i niektórych rozszerzeń Bootstrap
description_de    : Verwenden Sie diese Version von Waterfox, wenn Sie die neuesten Entwicklungen im Web nutzen möchten, wenn Sie alle Web-Erweiterungen und einige Bootstrap-Erweiterungen verwenden möchten
description_es    : Utiliza esta versión de Waterfox si quieres aprovechar los últimos avances de la Web, si quieres utilizar todas las extensiones Web y algunas extensiones Bootstrap
description_pt    : Utiliza esta versão do Waterfox se quiseres tirar partido dos últimos desenvolvimentos da Web, se quiseres utilizar todas as extensões da Web e algumas extensões Bootstrap
description_it    : Utilizzate questa versione di Waterfox se volete sfruttare gli ultimi sviluppi del Web, se volete utilizzare tutte le estensioni Web e alcune estensioni Bootstrap
description_nl    : Gebruik deze versie van Waterfox als je wilt profiteren van de nieuwste webontwikkelingen, als je alle webuitbreidingen en een aantal Bootstrap-uitbreidingen wilt gebruiken
description_ru    : Используйте эту версию Waterfox, если хотите воспользоваться последними веб-разработками, если хотите использовать все веб-расширения и некоторые расширения Bootstrap
audit_schedule    : 
editor            : 
keywords          : 
licence           : Mozilla Public License Version 2.0
homepage          : https://www.waterfox.net/
package_uuid      : ff72df36-2c7f-47af-9a7b-ad1c142fe00b
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3e57a3b19e8c442db50144fc6ee8a3aaaabf925bb610e9f74ba4c01f4888e091
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-09-11T12:05:52.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         : goA/z+BaVoLnhhs5BVqo1K6lYlxpGP7sY5Rr3ODdLNptuzS9JqtxIDDUx+ERuN3WZ3qqkNJp9MqLAxhWVRMnHctNObzRuyPdEv90RuMR7azpsawhVKhrxDAJ1IUAzw/7DYGzGnoohEi8102UQ9xu03FDbYcWx1NybU+uSn4Bq2Zqs6toMZsbFi5ApeO8aCLen+0wEZXvkE0BLu7jcNYcHkJ6hikSZ293g7BDFyHBMsXuMFChSm8jq241djiY1XJGciwzaiDFRgS1xRCmp2iadqQoImW48+VLgfyTlMmoawFGBpyamQJAe/wu1Y7YHBMBMoVnLvyu/9VsqTIQ2ICLaQ==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"Waterfox 115.15.0 (x64 en-US)",
   "name":"Waterfox (x64 en-US)",
   "version":"G6.0.18",
   "install_date":"",
   "install_location":"C:\\Program Files\\Waterfox",
   "uninstall_string":"\"C:\\Program Files\\Waterfox\\uninstall\\helper.exe\"",
   "publisher":"BrowserWorks Ltd",
   "system_component":0,
   "win64":true
  }

"""
# 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('Waterfox*.exe')[0]
    # Installing the software
   
    install_exe_if_needed(bin_name,
        silentflags='/S',
        key='Waterfox 115.15.0 (x64 en-US)',
        min_version=control.get_software_version(),
        get_version=get_version,
        timeout=600,
    )


def get_version(app_registry_dict):
    return app_registry_dict["version"].replace("G","")




# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    data = requests.head('https://cdn1.waterfox.net/waterfox/releases/latest/windows',allow_redirects=True,proxies=proxies)
    download_url = data.url  
    latest_bin = download_url.split("/")[-1].replace("%20"," ")
    version = latest_bin.split(' ')[-1].rsplit(".exe")[0].replace('G','')

    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

           
    
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3c026aa709cf9a8b59e35c0c1b58a59c75e9713482ed50d32db3749930d39ec8 : WAPT/control
3e57a3b19e8c442db50144fc6ee8a3aaaabf925bb610e9f74ba4c01f4888e091 : WAPT/icon.png
a2bad46cc0d59edead75034524e756c71da161aba16307acd75188248dc2e621 : Waterfox Setup G6.0.18.exe
7f90fe2788ab819d15d27c40e4c457e8f97bf27d6a3664f83e0a31ae45e129bb : luti.json
afa91d9edff0c61f675083e959db76588989a14a9b5f299756fe44da5015ed07 : setup.py
74f195185f75bb847248833dc3afeac7296fec7aece9a28102aa593cf7a60046 : update_package.py