
- package: tis-dosbox-x
- name: Dosbox-x
- version: 2024.10.1-1
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
- editor: Jonathan Campbell
- licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
- locale: all
- target_os: windows
- impacted_process: dosbox-x
- architecture: x64
- signature_date:
- size: 99.98 Mo
- installed_size: 53.13 Mo
- homepage : https://dosbox-x.com/
package : tis-dosbox-x
version : 2024.10.1-1
architecture : x64
section : base
priority : optional
name : Dosbox-x
categories : System and network
maintainer : WAPT Team,Tranquil IT,Ingrid TALBOT
description : DOSBox-X is a cross-platform DOS emulator based on the DOSBox project
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size : 53128218
impacted_process : dosbox-x
description_fr : DOSBox-X est un émulateur DOS multiplateforme basé sur le projet DOSBox
description_pl : DOSBox-X to wieloplatformowy emulator DOS oparty na projekcie DOSBox
description_de : DOSBox-X ist ein plattformübergreifender DOS-Emulator, der auf dem DOSBox-Projekt basiert
description_es : DOSBox-X es un emulador DOS multiplataforma basado en el proyecto DOSBox
description_pt : O DOSBox-X é um emulador de DOS multiplataforma baseado no projeto DOSBox
description_it : DOSBox-X è un emulatore DOS multipiattaforma basato sul progetto DOSBox
description_nl : DOSBox-X is een cross-platform DOS-emulator gebaseerd op het DOSBox-project
description_ru : DOSBox-X - это кроссплатформенный эмулятор DOS, основанный на проекте DOSBox
audit_schedule :
editor : Jonathan Campbell
keywords : dos,emulator
licence : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage : https://dosbox-x.com/
package_uuid : 8c1fdb81-a194-4cd2-b2db-92235633c623
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/joncampbell123/dosbox-x/releases
min_os_version :
max_os_version :
icon_sha256sum : 7cfa35f10863878d258a7a7bd2fd754a6d10f46019f9a2ee60598e8bbb4e2dea
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-07T09:00:10.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 : M5yZXhT+FDjVZQerkW9/UVjGjDeg3yz5CDBbuWbZRx5/dSF5uStE1zuCJ9tjdeUEB/HleI44E5XkXG9PA+0kNLuGFv5g1jhQ2el2FaRdGd2kS4WE+LLNL1P4Vd9bVhtL+rVqYlur2/jSJ2lbOa12Zi6P7qP8rvlHpdpOwTHaUHHtK2rlpVUxucQC9KVcTVkg4PqygCis4nyLrfQCbO6q6ZCna3D4cfFIss8+wKxAf361MHoPhT5d+OL+e0Y1l4sJEQ6r+C8ABPF+Z1CvtBXlVNZ5V1JVMuS3bWdqYu5zAwiInDP1yLcE3NLiaZ2HoqYLso0bjvfXLENSSEwjHeszOA==
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstall_path = makepath(systemdrive, "DosBox-X", "unins000.exe")
def install():
bin_name = glob.glob("dosbox-x-windows-*-setup.exe")[0]
install_exe_if_needed(bin_name, silentflags="/VERYSILENT /SP- /SUPPRESSMSGBOXES", min_version=control.get_software_version())
def uninstall():
run(uninstall_path + " /VERYSILENT")
# -*- 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()
update_dict = {"windows": "setup.exe", "macos": ".dmg"}
api_url = "https://api.github.com/repos/joncampbell123/dosbox-x/releases/latest"
# Get data from API
releases_dict = json.loads(wgets(api_url, proxies=proxies))
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") and update_dict[control.target_os] in asset["browser_download_url"]:
url_download = asset["browser_download_url"]
latest_bin = url_download.split("/")[-1]
version = releases_dict["tag_name"].split("-")[2].replace("v", "")
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)
version = get_version_from_binary(latest_bin)
version = version.split(" ")[0]
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e686b49044b9ff2bb91147dc66dc520ff052d701a689e325463938204195c839 : WAPT/control
7cfa35f10863878d258a7a7bd2fd754a6d10f46019f9a2ee60598e8bbb4e2dea : WAPT/icon.png
729f8a3bd3f50a1daa23791f5912fb3a381fa7597b17640214efe40adf0b413c : dosbox-x-windows-2024.10.01-setup.exe
10dc86b4bbf61b4e6f54cdac196f6881ddc2e2ffc70cbbbe156c22b80677cde4 : luti.json
b1076e5bd6666b5e1c740aa9b9f17281fc0ed3613c1f7b2a0185f48ca0183020 : setup.py
2ee628980874ebae3f6b36249540a989a0aff70d5db556dd1496f9ae348b11a0 : update_package.py