mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Autohotkey Not Getting Found Even When Installed #362
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ksharizard on GitHub (May 1, 2024).
Describe the bug
Whenever I run
komorebic start --ahk, i get the following error:Error: could not find autohotkey, please make sure it is installed before using the --ahk flag. I have autohotkey v2 installed through winget so this error should not be present.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Autohotkey should be located.
Screenshots and Videos
Add screenshots and videos to help explain your problem.
Operating System
komorebic checkOutputAdditional context
I believe the problem is caused due to autohotkey not being in path. Some solutions I can propose is
@LGUG2Z commented on GitHub (May 1, 2024):
You can specify an override for the exe file name using the
KOMOREBI_AHK_EXEenvironment variable.Unfortunately the casing issue with the AHK exe on different distribution platforms has been an issue for a long time. I think someone should raise an issue on the AHK tracker to standardize the casing of the exes that are distributed through
scoop,winget,chocolateyetc.