ConEmu
Silent install package for ConEmu
23.7.24.0-5
Utilities
Utilities
- package: tis-conemu
- name: ConEmu
- version: 23.7.24.0-5
- categories: Utilities
- maintainer: Bertrand Lemoigne
- locale: all
- target_os: windows
- impacted_process: ConEmu,ConEmuC
- architecture: x86
- signature_date:
- size: 5.84 Mo
package : tis-conemu
version : 23.7.24.0-5
architecture : x86
section : base
priority : optional
name : ConEmu
categories : Utilities
maintainer : Bertrand Lemoigne
description : Windows console emulator
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://github.com/Maximus5/ConEmu
installed_size :
impacted_process : ConEmu,ConEmuC
description_fr : Émulateur de console Windows
description_pl : Emulator konsoli Windows
description_de : Windows-Konsolen-Emulator
description_es : Emulador de consola de Windows
description_pt : Emulador de consola Windows
description_it : Emulatore di console Windows
description_nl : Windows console-emulator
description_ru : Эмулятор консоли Windows
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 06ddddf6-85b0-4262-8cca-637a85aac8f2
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 47d72e26bbcfccb7414ecbe79ca411b61fee5243a1cf4e2630810e1e3af243e9
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : sLtZgGAi40iM99YTiAdlVAjGX1tr5be4tze4Izv2Rd6CBHifyhCYO9KuOkZVakovtrQRdDAov6wm7n7/kbZNMKBo9mMbhvAtcr4ulwlviY0faESrRpWIAyp0dAPqSVW3W129xAKtqMfOuNMS2XL+MLGg4MGPC3XMu1fJ7JGPXXl3Rj+FaArcsRMIBj7bxOAYkrp8xS6DlK+Sn+2oau6rvdW4m0Yel0xqCM/pbjMIkxPqAmDC0lrfJ5StsioLPfE/5eZA0XuvkiMqI+dW9AOjLQOBkiLT02N1yMCPVv5BXH7FHUt0RrStIR8JaPR4Nj3LoTcUxI0hwr/beas0JyD7jQ==
signature_date : 2023-07-29T04:01:38.231723
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 -*-
from setuphelpers import *
"""
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
package_version = control.get_software_version()
bin_name = glob.glob("*ConEmuSetup*.exe")[0]
print("Installing: %s" % control.package)
run('%s /p:x86 /qn"' % bin_name)
add_to_system_path(makepath(programfiles, "ConEmu", "ConEmu.exe"))
filecopyto("ConEmu.xml", makepath(programfiles, "ConEmu"))
for app in installed_softwares("conemu"):
key = app["key"]
uninstallkey.append(key)
def uninstall():
remove_tree(makepath(programfiles, "ConEmu"))
remove_programs_menu_folder("ConEmu")
for app in installed_softwares("conemu"):
key = app["key"]
if uninstall_key_exists(key):
run(uninstall_cmd(key))
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
sub_bin_name = "ConEmuSetup" + "-%s.exe"
if not proxies:
proxies = get_proxies_from_wapt_console()
api_url = "https://api.github.com/repos/Maximus5/ConEmu/releases/latest"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for download in json_load["assets"]:
if "ConEmuSetup" in download["name"]:
download_url = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin, property_name="FileVersion")
if version != version_from_file and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, sub_bin_name % version_from_file)
version = version_from_file
else:
print("Binary file version corresponds to online version")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
cad22063c40925ce86211eb9192f9f2382fd6910009f13ae9eb969bb52ef85d7 : setup.py
25970ff4e73f4711d94e4052ee6d6afe76f6b38e8f78d50e38d4b74901a20e9c : ConEmu.xml
983686d4191c502afdea3329092a443224e5c505cf9db93ae3f1fd4e96df54fd : update_package.py
0262dc69871b0270147173847619fc2dc9a0188754474c7ba1e0bbddbd4e4974 : ConEmuSetup-23.7.24.0.exe
47d72e26bbcfccb7414ecbe79ca411b61fee5243a1cf4e2630810e1e3af243e9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
5d5a1820011ee3e4d0b3457c2f54f859afc75dc1bb9ef70c678d4f3b954af396 : luti.json
fce3e3dfdd933bbf0832937c4ee573ad13d6ad04ec814207acad99c581ac7f34 : WAPT/control