
unciv
Paquet d’installation silencieuse pour unciv
4.17.12.0-1
- package: tis-unciv
- name: unciv
- version: 4.17.12.0-1
- maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
- licence: MPL-2.0 license
- target_os: windows
- impacted_process: Unciv
- architecture: all
- signature_date:
- size: 86.07 Mo
- installed_size: 208.78 Mo
- homepage : https://yairm210.itch.io/unciv
- conflicts :
package : tis-unciv
version : 4.17.12.0-1
architecture : all
section : base
priority : optional
name : unciv
categories :
maintainer : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description : An open source reimplementation of the most famous civilization-building game of all time - fast, small, ad-free, free forever!
depends :
conflicts : tis-unciv-portable
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.4
sources :
installed_size : 208777216
impacted_process : Unciv
description_fr : Une réimplémentation open source du jeu de construction de civilisation le plus célèbre de tous les temps ,rapide, petit, sans publicité, gratuit pour toujours !
description_pl : Otwarta implementacja najsłynniejszej gry cywilizacyjnej wszech czasów - szybka, mała, bez reklam i na zawsze za darmo!
description_de : Eine Open-Source-Neuimplementierung des berühmtesten Zivilisationsbauspiels aller Zeiten ,schnell, klein, werbefrei, für immer kostenlos!
description_es : Una reimplementación de código abierto del juego de construcción de civilizaciones más famoso de todos los tiempos: ¡rápido, pequeño, sin anuncios y gratis para siempre!
description_pt : Uma reimplementação de código aberto do mais famoso jogo de construção de civilizações de todos os tempos - rápido, pequeno, sem anúncios e grátis para sempre!
description_it : Una reimplementazione open source del più famoso gioco di costruzione di civiltà di tutti i tempi - veloce, piccola, senza pubblicità e gratuita per sempre!
description_nl : Een open source herimplementatie van het beroemdste beschavingsbouwspel aller tijden - snel, klein, reclamevrij en voor altijd gratis!
description_ru : Реализация с открытым исходным кодом самой известной игры всех времен, посвященной строительству цивилизаций, - быстрая, маленькая, без рекламы и навсегда бесплатная!
audit_schedule :
editor :
keywords :
licence : MPL-2.0 license
homepage : https://yairm210.itch.io/unciv
package_uuid : 0979a113-6a48-4f0c-a513-9198873c8d1e
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 7ede17c000253e100594e157fce7f4026010a972defea116e3c81490e7ab8fb3
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-08-11T21:01:15.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 : P+ESzq+s000aD7RAJu7ZG3jDiLfRATVGzW3ihN2dbTITt98aFyb4qTbv24suTO+PbmAaoB8belF/7cj4OF9a/MlckpZMP0oQNilvofezyr2pIS10flbk4tTaYvMN6MIVseKvA/9f8YEfB0mWKDVCeRHmAVUuHBSawyE0mOnysuNVT3L7LWhPdZlpAfSpLhUau+GDeKkZ/PDOk4JtB7RuAgFGXwhzQSWOXOCY7zKiCDF0S8yA9hA3sLaP4ixQe7bv5F9ci3ZoxFNVMWL0+exgwXY/7fprzzvLPWhQWL9DySxxZp/Z3NHCuqizUFkSS7Sw81INzTUMbKlcXC/wH/CP0g==
# -*- coding: utf-8 -*-
from setuphelpers import *
def get_version(app_registry_dict):
version = app_registry_dict['version']
version = version.replace('-patch', '.') if 'patch' in version else version.split('-')[0]
return str(Version(version, 4))
def install():
killalltasks(ensure_list(control.impacted_process))
for soft in installed_softwares('Unciv'):
unistall_key = soft['key']
if Version(soft['version']) < Version(control.get_software_version()):
run(uninstall_cmd(unistall_key))
wait_uninstallkey_absent(unistall_key)
# Declaring local variables
bin_name = glob.glob(f"Unciv.msi")[0]
install_msi_if_needed(
bin_name,
name='^Unciv$',
min_version=control.get_software_version(),
get_version=get_version
)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url_api = "https://api.github.com/repos/yairm210/Unciv/releases/latest"
json_load = wgets(url_api, proxies=proxies, as_json=True)
update_dict = { "windows": "Unciv.msi" }
for download in json_load["assets"]:
if download["name"] == update_dict[control.target_os]:
download_url = download["browser_download_url"]
latest_bin = download["name"]
latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
break
version = json_load["tag_name"]
version = version.replace('-patch', '.') if 'patch' in version else version.split('-')[0]
version = str(Version(version, 4))
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
3300c45094231f4446f93bd8f29718aac29ca8020e70e29c8d6ba5da8bfce79b : Unciv.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2fb1d86f28abf7bfedb7f793407b8c3f0a678ae1c17e71ee34e357e57f8b9d0f : WAPT/control
7ede17c000253e100594e157fce7f4026010a972defea116e3c81490e7ab8fb3 : WAPT/icon.png
e3908cb35f978a4f6088d4e05f75a84b9cc3a6f4a8f6b36b7f1b170a0b4f6f35 : luti.json
9c2113d970ecbd5cc56062aa20709dc32fa29e4d1637f3df0e1fa2a4b26695d0 : setup.py
063b5890de107a97bd369142e62e2205e895db12bb5a437701a08ab9c762ff4d : update_package.py