
opale
Paquet d’installation silencieuse pour opale
24.0.0-1
- package: tis-opale
- name: opale
- version: 24.0.0-1
- maintainer: Jordan ARNAUD
- licence: MPL-2.0, GPL-3.0-only, LGPL-3.0-only, CECILL-2.1
- locale: en
- target_os: darwin
- architecture: x64
- signature_date:
- size: 226.78 Mo
- homepage : https://download.scenari.software/
package : tis-opale
version : 24.0.0-1
architecture : x64
section : base
priority : optional
name : opale
categories :
maintainer : Jordan ARNAUD
description : Opale enables you to create pedagogical documents for classroom, distance or blended training
depends :
conflicts :
maturity : PROD
locale : en
target_os : darwin
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Opale permet de créer des documents pédagogiques pour la formation présentielle, à distance ou mixte
description_pl : Opale może być używany do tworzenia dokumentów dydaktycznych do nauczania w klasie, na odległość lub w trybie mieszanym
description_de : Opale ermöglicht die Erstellung von Unterrichtsmaterialien für Präsenz-, Fern- und Blended-Learning-Kurse
description_es : Opale permite crear documentos didácticos para la enseñanza presencial, a distancia o semipresencial
description_pt : O Opale pode ser utilizado para criar documentos pedagógicos para o ensino presencial, à distância ou misto
description_it : Opale può essere utilizzato per creare documenti didattici per l'apprendimento in aula, a distanza o misto
description_nl : Opale kan worden gebruikt om lesdocumenten te maken voor klassikaal leren, leren op afstand of blended learning
description_ru : Opale можно использовать для создания учебных документов для аудиторного, дистанционного или смешанного обучения
audit_schedule :
editor :
keywords :
licence : MPL-2.0, GPL-3.0-only, LGPL-3.0-only, CECILL-2.1
homepage : https://download.scenari.software/
package_uuid : d8850b18-f1b7-4930-a825-d0a3143b82d3
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 8af7c92e52b3d762613fd95757228df955329f7c9f34b5ca767e5ae791d950b2
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : hZ9JfPQ3aphLWQv7BgElkFXXVDFPTJRJiUH0F4giRAZ1FgOR9pbM70+Q8AzkmrG8rA3reo8r1Sqw/eElNpBzilwxtr8qapJZ/FSCQ6ioMb4V+r16Qv+IBIwTlhXv3kIpwRszvsZOAg4rvUg1zmyqcsBBpmVYKagJj3deWfRY10pO0ApDFIiXmnD7X+Ofy7vsPWG3hPN7PfO1ANHlKLD21EBLM85ER81FSNTIE0Ne1ZuSXXHBr2P+7M/3tIhjo1TGkYbvGoI1WlVx2FY6r7dlbOHgEEPeP9zT2UT+fFKHvbr9Htk0jE3biVOjGuuDziJ1RlBfeaL2102HPyskq3fkeg==
signature_date : 2024-07-24T09:02:10.684927
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
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
def install():
bin_name = glob.glob("Opale*mac_x64.dmg")[0]
tempo_path = "/tmp/cdrTempo"
run(f"hdiutil convert -quiet {bin_name} -format UDTO -o {tempo_path}")
install_dmg(f"{tempo_path}.cdr", min_version=control.get_software_version())
if isfile(f"{tempo_path}.cdr"):
remove_file(f"{tempo_path}.cdr")
def uninstall():
remove_tree("/Applications/Opale 24.app")
import urllib.parse
import os
from setuphelpers import *
from setupdevhelpers import *
import glob
import requests
def update_package():
# Declare local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
lang_dict = {'en': 'en-US', 'fr': 'fr-FR'}
lang = control.locale
url_base = "https://download.scenari.software/Opale/?productInfos"
response = requests.get(url_base, proxies=proxies, allow_redirects=True)
response.raise_for_status()
# Assuming the response is a JSON containing product information
product_info = response.json()
version = response.json()['v']
# Compose the dynamic URL with the latest version
url_version = f"https://download.scenari.software/Opale@{version}/?productInfos"
response = requests.get(url_version, proxies=proxies, allow_redirects=True)
response.raise_for_status()
# Assuming the response is a JSON containing file information
product_files_info = response.json()
# Search for the .exe file for Windows corresponding to the language of control.locale
exe_file = None
if 'ch' in product_files_info:
for file in product_files_info['ch']:
if isinstance(file, dict) and file['n'].endswith('.dmg') and file['metas']['os'] == 'mac' and file['metas']['lang'] == lang_dict[control.locale]:
exe_file = file['metas']['path']
break
else:
raise ValueError("The format of the file information is incorrect. Expected: key 'ch' in the dictionary.")
if not exe_file:
raise ValueError(f"Unable to find the .exe file for Windows corresponding to the language {control.locale}.")
url_download = f"https://download.scenari.software{exe_file}"
filename = exe_file.split('/')[-1]
if not isfile(filename):
package_updated = True
wget(url_download, filename, proxies=proxies)
print("download:", filename)
for f in glob.glob("*.exe"):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
1753e3c4c4676a968f3436a442956e2118da857d37175adb015bab6901c464ba : setup.py
848f9e015f22077b4fe11405775fbdb5346462a2f51a61ee33fbdcb915d7b602 : update_package.py
b10fe1c6e6c142b2b280ec7bc30b9d442c9a2e051f64f3f6f5a4cf27dab00ab1 : Opale24.0.0_en-US_202407121309_mac_x64.dmg
8af7c92e52b3d762613fd95757228df955329f7c9f34b5ca767e5ae791d950b2 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f5ef84db2c3f1aaf672ac1d7e35a3e65fc76dec368bc64c55ae3942a194a9020 : luti.json
9f36dc88bd84c7d1e9c4e90d41c845af50baa30b326d1897d290ded2bcf0a9e3 : WAPT/control