- package: tis-conemu
- name: ConEmu
- version: 23.7.24.0-4
- categories: Utilities
- maintainer: Tranquil IT
- locale: all
- target_os: windows
- impacted_process: ConEmu,ConEmuC,ConEmuC64
- architecture: x64
- signature_date:
- size: 5.84 Mo
package : tis-conemu
version : 23.7.24.0-4
architecture : x64
section : base
priority : optional
name : ConEmu
categories : Utilities
maintainer : Tranquil IT
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,ConEmuC64
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 : 76f55a93-7530-4023-8443-53b027c59c09
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 47d72e26bbcfccb7414ecbe79ca411b61fee5243a1cf4e2630810e1e3af243e9
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : ZTvgWiUpfmlNcQ3o4d0/L17bxj5j6Et9BTRO4qmEH5SKdHZYqwGSqArRzdlnfbFhTqJC6btRo5D5wCK1Wo9I0on+PWwjaCv+Pjgq1bMYVVvifAXe9ydlQN6za4KiWLdY6JPvYxqLAybS3TGEeidH66WeK1HztE56sYEhcTmOgujrohoR9Cmhu6oaSh393puM7fXDRlfFJsXMMcbkWzQAxiNhu5+bOmIgcCXp/qTS/nwl4C5plbog5+2WvwX2crxW+j2BQWjjomXThNaAvU0jtBvyxYRYYhVXWf8EQUGq1AwmaeSfW8znQz4kYk2ta4RWg2siyqR52jN3qqi7NTNVlw==
signature_date : 2023-07-29T04:00:31.364723
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
bin_contains = "ConEmuSetup"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("*ConEmuSetup*.exe")[0]
print("Installing: %s" % control.package)
# if iswin64():
run('%s /p:x64 /qn"' % bin_name)
# else:
# uninstallkey.append('{1DAA595D-AB19-435F-B18F-3BE1DEBE00E8}')
# 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
0c6aff3bd87390464e6653b3c3970156e3cb99af0678ea2d758a953ab975e328 : setup.py
25970ff4e73f4711d94e4052ee6d6afe76f6b38e8f78d50e38d4b74901a20e9c : ConEmu.xml
fc817f6ceb917f5e854fc82214f0136a61863df9a08c6a14fcfb0df2c645082f : update_package.py
0262dc69871b0270147173847619fc2dc9a0188754474c7ba1e0bbddbd4e4974 : ConEmuSetup-23.7.24.0.exe
47d72e26bbcfccb7414ecbe79ca411b61fee5243a1cf4e2630810e1e3af243e9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e73853affe07b7a330ac568fd51b036650eb1b53f99f36958bd4210d6333653a : luti.json
11b0ef1725571f70a0a6e55ceb49bc3a0f77b45aab072d8691cf4d25d7717c76 : WAPT/control