Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about potentially incompatible libraries #7

Open
joshuacc opened this issue Oct 10, 2022 · 1 comment
Open

Warn about potentially incompatible libraries #7

joshuacc opened this issue Oct 10, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@joshuacc
Copy link
Owner

Ideal scenario:

  • User attempts to install a library
  • That library has specified the version of AHK it requires
  • ahkpm checks that version against the version of AHK installed/running on the user's machine
  • If the versions are not compatible it issues a friendly warning
@joshuacc joshuacc added the enhancement New feature or request label Oct 10, 2022
@joshuacc
Copy link
Owner Author

joshuacc commented Oct 21, 2022

The AutoHotKey version can be detected by doing the following.

  1. Create an AHK script containing only FileAppend, %A_AhkVersion%, *
  2. Run that script as follows: autohotkey version.ahk | more
    • Piping the output into another program is necessary. Otherwise the version will not be written to stdout.

@joshuacc joshuacc added this to the 0.5.0 milestone Oct 24, 2022
@joshuacc joshuacc removed this from the 0.5.0 milestone Nov 8, 2022
@joshuacc joshuacc added this to the Long Term milestone Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant