- package: tis-autohotkey
- name: autohotkey
- version: 1.1.36.2-0
- categories: utilities
- maintainer: WAPT Team,Tranquil IT,Pierre COSSON
- editor: https://github.com/Lexikos/AutoHotkey_L
- licence: GPL-2.0
- locale: all
- target_os: windows
- impacted_process: AutoHotkey
- architecture: all
- signature_date:
- size: 3.34 Mo
- installed_size: 11.25 Mo
- homepage : https://www.autohotkey.com/
package : tis-autohotkey
version : 1.1.36.2-0
architecture : all
section : base
priority : optional
name : autohotkey
categories : utilities
maintainer : WAPT Team,Tranquil IT,Pierre COSSON
description : AutoHotkey is a free, open source macro-creation and automation software utility that allows users to automate repetitive tasks. It is driven by a custom scripting language that is aimed specifically at providing keyboard shortcuts, otherwise known as hotkeys.
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://github.com/Lexikos/AutoHotkey_L
installed_size : 11252712
impacted_process : AutoHotkey
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : https://github.com/Lexikos/AutoHotkey_L
keywords : script,clic
licence : GPL-2.0
homepage : https://www.autohotkey.com/
package_uuid : 5b72e885-46bf-4dd2-9fe8-3daf33a5e101
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/Lexikos/AutoHotkey_L/releases
min_os_version :
max_os_version :
icon_sha256sum : 197908aad08fd8a1029cd7f0f043fb988ebf1436bebab4591bdc3f17e9e72206
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : AoEaYcNAddlmRBq2NDfgTBxWgFHzRu0EoCoHrEbsGv+EiVSCGWKUmZMoWPn19Q6lM0ki9IjhuKWVqpt/0oh0bY//rGjhDDv0is2hh23yyTKfhktczqbBOHWyoqIHS/4s0JO3cYWXyrudATfc9EaAtEwVZEsRZg0EikoGX0KNr7lQYAqaqZbCjIr++BU+R1gHdNaKbB2km2VtODy2Gh8ZjOcBsZFKzrAQ7vx8ZbbtHxftX0/lUDYENp/A7TIMNn5C63kuNeyYByI65+lchQBcrO5lFiXWxeo4PeEtLdhcUXV5n9CrfAt+yPvWEexW2IU4prQtcKZVuEx82Td5X/KHTA==
signature_date : 2022-12-12T14:02:15.844615
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 *
def install():
# Installing the software
install_exe_if_needed(
glob.glob("AutoHotkey_*_setup.exe")[0],
silentflags="/S",
key="AutoHotkey",
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
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
api_url = "https://api.github.com/repos/Lexikos/AutoHotkey_L/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 "_setup.exe" in download["name"]:
download_url = download["browser_download_url"]
version = json_load["tag_name"].split("-")[-1].replace("v", "")
latest_bin = download["name"]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin).split("-")[0]
# if not version_from_file.startswith(version) and version_from_file != '':
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, latest_bin.replace(version, 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)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return package_updated
af7b8e60b4b54f5f85e6b207ac51926cb076aa4319b8e4c72e59b98c85818cae : AutoHotkey_1.1.36.02_setup.exe
9bc36246af3881c9c2c580d89cd8e220f5d670ab02388d9ef5435ea8432d5586 : setup.py
d276eafcf879845bf264107151c5e4421633f2ed6c8bc01b3ee71a184378c925 : update_package.py
197908aad08fd8a1029cd7f0f043fb988ebf1436bebab4591bdc3f17e9e72206 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
ab11b681ca281912029afa40159679b00e8cbffdde2fb16e2b04f2a97b11dbfe : luti.json
45eb9445e5bb7bed8b49eff6580baff21429060f2903ba0d0a0f56a8793417e0 : WAPT/control