chtof / chocolatey-packages

Apache License 2.0
12 stars 37 forks source link

Locale-emulator installation fails with AutoHotkey version >= 2 #103

Open regunakyle opened 5 months ago

regunakyle commented 5 months ago

Hi,

I tried installing Locale Emulator with choco install locale-emulator but failed. The error seems to be from AutoHotkey (because AHK version >=2 does not support #NoEnv?).

As a workaround, first I need to install AHK v1 (choco install autohotkey.portable --version=1.1.37.1), then install locale-emulator.

Could you either pin the AHK dependency to (≥ 1.1.30, <2) or fix the install script so it works with AHK v2? Thanks!

Edit: I just saw you already have pull requests for updating AHK scripts to v2. This can be closed after they are merged, I think?

regunakyle commented 5 months ago

FYI, #NoEnv seems to be enabled by default: https://www.autohotkey.com/docs/v2/v2-changes.htm#default-settings However the syntax of AHK v1 and v2 seems incompatible. I am not sure as I do not use AHK.