tis-openwebstart icon

openwebstart

Paquet d’installation silencieuse pour openwebstart

1.11.0-1

  • package: tis-openwebstart
  • name: openwebstart
  • version: 1.11.0-1
  • maintainer: Amel FRADJ
  • licence: GNU General Public License, version 2, with the Classpath Exception
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 59.24 Mo
  • homepage : https://openwebstart.com/

package           : tis-openwebstart
version           : 1.11.0-1
architecture      : x86
section           : base
priority          : optional
name              : openwebstart
categories        : 
maintainer        : Amel FRADJ
description       : OpenWebStart is an open source reimplementation of the Java Web Start technology that provides the most commonly used features of Java Web Start and the JNLP standard, so that you can continue using applications based on Java Web Start and JNLP without any change.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : OpenWebStart est une réimplémentation open source de la technologie Java Web Start qui fournit les fonctionnalités les plus couramment utilisées de Java Web Start et du standard JNLP, afin que vous puissiez continuer à utiliser des applications basées sur Java Web Start et JNLP sans aucun changement.
description_pl    : OpenWebStart to otwarta implementacja technologii Java Web Start, która zapewnia najczęściej używane funkcje Java Web Start i standard JNLP, dzięki czemu można nadal korzystać z aplikacji opartych na Java Web Start i JNLP bez zmian.
description_de    : OpenWebStart ist eine Open-Source-Neuimplementierung der Java Web Start-Technologie, die die am häufigsten verwendeten Funktionen von Java Web Start und dem JNLP-Standard bereitstellt, sodass Sie Anwendungen, die auf Java Web Start und JNLP basieren, weiterhin ohne Änderungen verwenden können.
description_es    : OpenWebStart es una reimplementación de código abierto de la tecnología Java Web Start que proporciona las funciones más utilizadas de Java Web Start y el estándar JNLP, para que pueda seguir utilizando aplicaciones basadas en Java Web Start y JNLP sin ningún cambio.
description_pt    : OpenWebStart é uma reimplementação de código aberto da tecnologia Java Web Start que fornece os recursos mais comumente usados ​​do Java Web Start e do padrão JNLP, para que você possa continuar a usar aplicativos baseados em Java Web Start e JNLP sem quaisquer alterações.
description_it    : OpenWebStart è una reimplementazione open source della tecnologia Java Web Start che fornisce le funzionalità più comunemente utilizzate di Java Web Start e dello standard JNLP, in modo da poter continuare a utilizzare le applicazioni basate su Java Web Start e JNLP senza modifiche.
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : GNU General Public License, version 2, with the Classpath Exception
homepage          : https://openwebstart.com/
package_uuid      : 535beedb-77fe-4e69-8649-0f34040ab8a2
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e75ac6dcd8a99a4a984d2b1ecc4045d0297a5367fb5fa2fce3480d02ddd8f1c3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-12-02T18:00:25.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         : RTW4r36VcKW9UHc1JSX/3FygnL71Ohlxa03aiYEipqU/bVh4Ntedtu1nmjQR/QTx+A+qmqv/pBsDx3FDxsfAXjNL5pz8LnZjdzlp3hA2kFPLdu8QuRze6XSvESa+C04ndUyOh35tm6Z3sYEgcUPlS93+YV/EK+ohKG9ROPbJ3HSdITDdEea74z1LuXJ/hGBdtbd/c9+i0vAL6ybogDp8QEP1jtXptlkZXcy5zmZp7S6Os58cRunnCCgkBr96G4fO10x1lPlPlXha0e7Hm47ZntCSZjmZW139IsaPsRb8jLdzZWJAYNH24jxRzuPnv6AJjLFOve0sBBlzoGZ+oHoJxQ==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"9615-4721-3936-4657",
   "name":"OpenWebStart 1.9.1",
   "version":"1.9.1",
   "install_date":"",
   "install_location":"C:\\Program Files\\OpenWebStart",
   "uninstall_string":"\"C:\\Program Files\\OpenWebStart\\uninstall.exe\"",
   "publisher":"Karakun AG",
   "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('OpenWebStart_windows-x32_*.exe')[0]
    # Installing the software

    install_exe_if_needed(bin_name,
        silentflags='-q',
        key='',
        min_version = control.get_software_version(),
    )
    uninstallkey.clear()
    
def uninstall():

    killalltasks(['OpenWebStart_windows-x32_*.exe'])
    for uninstall in installed_softwares('OpenWebStart'):
        if not uninstall_key_exists(uninstall['key']):
            continue
        uninstall_string = uninstall.get("uninstall_string", "")
        print(f"Uninstalling OpenWebStart: {uninstall_string}")
        run(f"{uninstall_string} -q")
        wait_uninstallkey_absent(uninstall['key'],max_loop=600)


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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {"x64":"_windows-x64","x86":"_windows-x32"}
    url_api = "https://api.github.com/repos/karakun/OpenWebStart/releases/latest"

     # Get data from API
    releases_dict = json.loads(wgets(url_api, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    #target_extension = control.target_os + ".exe"
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith('.exe') and dict_arch[control.architecture] in asset["browser_download_url"] :
                url_download = asset["browser_download_url"]
                last_version = releases_dict["name"].split("v")[-1]
                filename= url_download.split('/')[-1]
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un .exe a été trouvé
                break


   
    if not isfile(filename):
        wget(url_download,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)

    control.set_software_version(last_version)
    control.save_control_to_wapt()

    return package_updated

8f06659fd9b65128255f7d60c2018e54ff9f166221b54185120a6ae1cd60cd8d : OpenWebStart_windows-x32_1_11_0.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bc575d27ca421df77d7880c593eaefd5635deafa4a6b2aebf738e2a40d9fe2a4 : WAPT/control
e75ac6dcd8a99a4a984d2b1ecc4045d0297a5367fb5fa2fce3480d02ddd8f1c3 : WAPT/icon.png
d0393db88e3ff534c3ab7b7cf4b4aabb5a8821d84570bc9181686eaca9eb80eb : luti.json
23ad565fddb5d1202360dbf3f5364c3b81f55541827162f9977b69456ad5a842 : setup.py
00900befe23f154b12bcbcb730af6ca0ea1ce0b53e1919af4192bafce86c24c9 : update_package.py