tis-autohotkey icon

AutoHotkey

Paquet d’installation silencieuse pour AutoHotkey

1.1.37.2-2

  • package: tis-autohotkey
  • name: AutoHotkey
  • version: 1.1.37.2-2
  • categories: Development,Utilities
  • maintainer: WAPT Team,Tranquil IT,Pierre COSSON,Jimmy PELÉ
  • editor: https://github.com/AutoHotkey/AutoHotkey
  • licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: AutoHotkey,AutoHotkeyA32,AutoHotkeyU32,AutoHotkeyU64,Ahk2Exe,AutoHotkeySC.bin
  • architecture: all
  • signature_date:
  • size: 3.42 Mo
  • installed_size: 11.46 Mo
  • homepage : https://www.autohotkey.com/

package           : tis-autohotkey
version           : 1.1.37.2-2
architecture      : all
section           : base
priority          : optional
name              : AutoHotkey
categories        : Development,Utilities
maintainer        : WAPT Team,Tranquil IT,Pierre COSSON,Jimmy PELÉ
description       : AutoHotkey is a powerful and flexible scripting language used to automate tasks, create custom keyboard shortcuts, and streamline repetitive actions on a Windows system
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/AutoHotkey/AutoHotkey/releases
installed_size    : 11461983
impacted_process  : AutoHotkey,AutoHotkeyA32,AutoHotkeyU32,AutoHotkeyU64,Ahk2Exe,AutoHotkeySC.bin
description_fr    : AutoHotkey est un langage de script puissant et flexible permettant d'automatiser des tâches, créer des raccourcis clavier personnalisés et automatiser des actions répétitives sur un système Windows
description_pl    : AutoHotkey to potężny i elastyczny język skryptowy służący do automatyzacji zadań, tworzenia niestandardowych skrótów klawiaturowych i usprawniania powtarzalnych czynności w systemie Windows
description_de    : AutoHotkey ist eine leistungsstarke und flexible Skriptsprache, mit der sich Aufgaben automatisieren, benutzerdefinierte Tastenkombinationen erstellen und sich wiederholende Aktionen auf einem Windows-System rationalisieren lassen
description_es    : AutoHotkey es un lenguaje de programación potente y flexible que se utiliza para automatizar tareas, crear atajos de teclado personalizados y agilizar acciones repetitivas en un sistema Windows
description_pt    : AutoHotkey é uma linguagem de script poderosa e flexível usada para automatizar tarefas, criar atalhos de teclado personalizados e simplificar ações repetitivas em um sistema Windows
description_it    : AutoHotkey è un linguaggio di scripting potente e flessibile utilizzato per automatizzare le attività, creare scorciatoie da tastiera personalizzate e semplificare le azioni ripetitive su un sistema Windows
description_nl    : AutoHotkey is een krachtige en flexibele scripttaal die wordt gebruikt om taken te automatiseren, aangepaste sneltoetsen te maken en herhalende acties op een Windows-systeem te stroomlijnen
description_ru    : AutoHotkey - это мощный и гибкий язык сценариев, используемый для автоматизации задач, создания пользовательских сочетаний клавиш и оптимизации повторяющихся действий в системе Windows
audit_schedule    : 
editor            : https://github.com/AutoHotkey/AutoHotkey
keywords          : scripting,automation,hotkeys,customization,productivity,windows,automate,tasks,scripts,macros,programming
licence           : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage          : https://www.autohotkey.com/
package_uuid      : 85e71f6f-d452-4572-8895-3d526c7fcc94
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/AutoHotkey/AutoHotkey/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 197908aad08fd8a1029cd7f0f043fb988ebf1436bebab4591bdc3f17e9e72206
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : Res6NEJRbqz518/QNoEAHpqwLITxGvow6j6c64lQfqNkkWfPz/o4HnFu05szkMN6GwIxXOXjdFsPgqMX6kmO/0i5V+ahLDoqewtPxx2M3Byq1K5oJ4jR+w0/MBc4nEEOYShmws/yrME/iOmG4FE5DJVe9tMuUA+L6/2FUtQTteZTIm/BsH4S15I2TigAWfExeQIamIZSQsUMWSllW3sxBjRBuX0kyYPdowTsvm0UTNTqq61UgbGcEOkjHqOoPV4lMHwwfSkqulWa+jJC4YxjHpt8eiTlgJ3Qlrdm7heWmWWHbOEaNbiQFKXUiEZVrZF1sfUPSqNQ44TMdOSUzlAt/A==
signature_date    : 2024-05-11T10:00:10.556578
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 *

"""
  {
   "key":"AutoHotkey",
   "name":"AutoHotkey 1.1.37.02",
   "version":"1.1.37.02",
   "install_date":"",
   "install_location":"",
   "uninstall_string":"\"C:\\Program Files\\AutoHotkey\\AutoHotkey.exe\" \"C:\\Program Files\\AutoHotkey\\Installer.ahk\"",
   "publisher":"AutoHotkey Foundation LLC",
   "system_component":0,
   "win64":true
  }
https://silentinstallhq.com/autohotkey-silent-install-how-to-guide/

"""


def install():
    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 *
from setupdevhelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/AutoHotkey/AutoHotkey/releases"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    dict_result = json.loads(wgets(api_url, proxies=proxies))
    for tag in dict_result:
        if tag["tag_name"].startswith("v1"):
            print("Tag URL used is: %s" % tag["html_url"])
            for to_download in tag["assets"]:
                if "_setup.exe" in to_download["name"]:
                    download_url = to_download["browser_download_url"]
                    version = tag["tag_name"].split("v")[-1]
                    latest_bin = to_download["name"]
                    break
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.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)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print("INFO: Binary file version corresponds to online version")
        else:
            error("ERROR: Binary file version do NOT corresponds to online version")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        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()

    # Validating update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

ba6414c94e5bc3b3bee356c889f8f4d574683f46b7cc4b9401e4cb66e60234cb : setup.py
e10fa7fd6e7b5fad919e816172ec8182021f98ded8db03124538674f52cfcb3e : update_package.py
197908aad08fd8a1029cd7f0f043fb988ebf1436bebab4591bdc3f17e9e72206 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
8b53ce25d1d4b675dd164240787c6fc15e2e6ec2cc849ef64dd62e9f4243f703 : luti.json
49a48e879f7480238d2fe17520ac19afe83685aac0b886719f9e1eac818b75cc : AutoHotkey_1.1.37.02_setup.exe
2fc3bde163811037e44672482e1b85acbe2b07fb9f911d08d9cebba8c5e7bdb5 : WAPT/control