Mogan
Silent install package for Mogan
2025.2.2-3
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-mogan
- name: Mogan
- version: 2025.2.2-3
- maintainer: Amel FRADJ
- licence: GPL-3.0, Unknown licenses found
- target_os: windows
- architecture: x64
- signature_date:
- size: 164.47 Mo
- homepage : https://mogan.app/
package : tis-mogan
version : 2025.2.2-3
architecture : x64
section : base
priority : optional
name : Mogan
categories :
maintainer : Amel FRADJ
description : Mogan STEM Suite (based on GNU TeXmacs): Enjoy exploring science and technology!
depends :
conflicts :
maturity : PREPROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Mogan STEM Suite (basé sur GNU TeXmacs) : Découvrez la science et la technologie !
description_pl : Mogan STEM Suite (oparty na GNU TeXmacs): Ciesz się odkrywaniem nauki i technologii!
description_de : Mogan STEM Suite (basierend auf GNU TeXmacs): Viel Spaß beim Erforschen von Wissenschaft und Technik!
description_es : Mogan STEM Suite (basado en GNU TeXmacs): ¡Disfruta explorando la ciencia y la tecnología!
description_pt : Mogan STEM Suite (baseado no GNU TeXmacs): Divirta-se a explorar a ciência e a tecnologia!
description_it : Mogan STEM Suite (basato su GNU TeXmacs): Divertitevi ad esplorare la scienza e la tecnologia!
description_nl : Mogan STEM Suite (gebaseerd op GNU TeXmacs): Geniet van het verkennen van wetenschap en technologie!
description_ru : Mogan STEM Suite (на основе GNU TeXmacs): Наслаждайтесь изучением науки и техники!
audit_schedule :
editor :
keywords : MoganResearch
licence : GPL-3.0, Unknown licenses found
homepage : https://mogan.app/
package_uuid : 72124d90-7fbd-4d82-b110-61dce619b2b4
valid_from :
valid_until :
forced_install_on :
changelog : https://mogan.app/guide/ChangeLog_v1.2.5.html
min_os_version :
max_os_version :
icon_sha256sum : 9135677bd63dbac3e0268aca2bbfd31f03ded5ef68c9a680ea5f4dd969ce8292
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2025-12-10T08:59:57.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 : BEUvtiQpdnY4zITaSYWEmIFtX+A1kcKHG/p/2KkChy0m97hQPzVQdaL2RGRvD3PGlukwew1l4pmneekGDbhiuwLAGTRWB+onEISYM4WL5TnrhzClb3e16RS0dFSlchhgdxtqce+JQbWdIoQmo+smBaHbbVKFG/wnOkiB4weTI2T7xhg+GTvmZerfr/dkG3VHm5U/fhA7k6W8DCPUGNmhOvxbUxF/+N4F7DJt+W4/HlNXzvJeSPAUQfcVOHIo8fyOIF2ZyfjasJhO9JYUIfKM0aM/EtQUvmajPYnG9j+khQnDBMjkjEsNj0viWWM4JsMdLd0DkvChJzxgWMbiwzEZMQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
import time
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("Mogan*.exe")[0]
# Installing the software
# Uninstalling older version of the software that can remains
for to_uninstall in installed_softwares("Mogan"):
if Version(to_uninstall["version"]) < Version(control.get_software_version()):
print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
time.sleep(60)
unregister_uninstall(to_uninstall['key'],win64app=to_uninstall['win64'])
install_exe_if_needed(bin_name,
silentflags='/S',
key='MoganSTEM',
min_version=control.get_software_version()
)
def uninstall():
for uninstall in installed_softwares("MoganSTEM"):
run(uninstall_cmd(uninstall["key"]))
time.sleep(60)
if uninstall_key_exists(uninstall["key"]):
unregister_uninstall(uninstall["key"])
def audit():
if not uninstall_key_exists("MoganSTEM"):
print('uninstallkey MoganSTEM not found')
return "ERROR"
else:
return "OK"
# -*- 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()
api_url = "https://api.github.com/repos/XmacsLabs/mogan/releases/latest"
# Get data from API
releases_dict = wgets(api_url, proxies=proxies, as_json=True)
exe_found = False # Flag pour indiquer la découverte d'un fichier .exe
for release in releases_dict:
if exe_found:
break
for asset in releases_dict["assets"]:
if asset["browser_download_url"].endswith(".exe"):
url_download = asset["browser_download_url"]
latest_bin = url_download.split("/")[-1]
version = releases_dict["tag_name"].split("v")[-1]
exe_found = True # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
break
# Deleting binaries
for f in glob.glob("*.exe"):
if f != latest_bin:
remove_file(f)
# Downloading latest binaries
print("Download URL is: %s" % url_download)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_download, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
control.set_software_version(version)
control.save_control_to_wapt()
41dca37592ba48aa183f5893c87b2684e33c29133d7f86605633c19d9e166944 : MoganSTEM-v2025.2.2-64bit-installer.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
166906dfeb1ff6ff3fd43b5ee1a5dd4f5a1d59a2b5fbce9dba872dff2d71dccf : WAPT/control
9135677bd63dbac3e0268aca2bbfd31f03ded5ef68c9a680ea5f4dd969ce8292 : WAPT/icon.png
625b278b9dffa9064634dd50f85ece07c0be33fa721fdd44fbe4e7ea888b53a4 : luti.json
05845d7756ff5caf4ef5a766a209b81ebb9786f3050a731838ce5cb3ef0df8aa : setup.py
4925b5373dd3ef8b262eac9318fb930f293b092648ab7840871fd3a7fc8790c5 : update_package.py