Solaar/tools
Din Tort 4192044f82 refactor(macos): Improve solaar executable lookup in launchagent script
This change improves how the `create-macos-launchagent.sh` script locates the `solaar` executable.

Previously, the script defaulted to a hardcoded path (`/opt/homebrew/bin/solaar`) and would exit with an error if that specific file was not found and executable. This was too restrictive and failed in environments where `solaar` is installed in a different location, such as through `pipx` or in standard system paths like `/usr/local/bin`.

Now, the script defaults the `SOLAAR_PATH` to just `solaar` and uses the `command -v` utility to find the executable in the user's `PATH`. This allows the system to resolve the correct location of the `solaar` binary automatically. If the executable cannot be found in the `PATH`, the script now issues a warning instead of exiting, and proceeds to use the provided `SOLAAR_PATH` value in the generated LaunchAgent plist. This makes the script more flexible and robust for different installation methods.
2025-10-27 20:51:25 +01:00
..
clean.sh misc: restore tools/clean.sh 2023-05-19 09:38:53 -04:00
create-macos-app.sh build: Remove hardcoded Homebrew path for solaar in macOS script 2025-10-27 19:57:30 +01:00
create-macos-launchagent.sh refactor(macos): Improve solaar executable lookup in launchagent script 2025-10-27 20:51:25 +01:00
hidconsole Apply ruff format 2024-02-20 15:41:10 -05:00
po-compile.sh started i18n support 2013-07-15 17:16:44 +02:00
po-update.sh po-update.sh without arguments re-formats all translation files 2013-08-08 22:22:39 +02:00
scan-registers.sh tools: fix bug in scan-registers 2023-09-16 10:35:26 -04:00