From b20a46cd3758a6f8ae2c48c8a8c3b962fdc227d9 Mon Sep 17 00:00:00 2001 From: Davte Date: Mon, 26 Aug 2024 15:15:45 +0200 Subject: [PATCH] Installation guide Added installation steps to README file --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 377526e..9eef91b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ # autoclick -Go auto-clicker \ No newline at end of file +Go auto-clicker that stores groups of locations. +Based on [Robotgo](https://github.com/go-vgo/robotgo). + + +## Installation + +Depending on your OS, you may require +[different dependencies](https://github.com/go-vgo/robotgo?tab=readme-ov-file#requirements). + +If you are running MacOS, you just need to install Xcode Command Line Tools +and grant Go the accessibility permissions when prompted from the system. + +```sh +xcode-select --install +``` + +Finally, once dependencies are met, to install autoclick run: + +```bash +go install gogs.davte.it/Davte/autoclick@latest +``` + +To launch autoclick from any path, add this to your bash profile or bashrc: + +```bash +export PATH="$PATH:/$HOME/go/bin" +``` \ No newline at end of file