Building
If you prefer building the project rather than installing it, you have come to the correct place. Here, you can find build instructions and dependencies.
Build instructions
- Clone the repository using the method of your choice
- Build a JAR file. You can use any method you want, as long as you
- Set the main class as
com.autoclicker.main.Autoclicker - Include an extracted version of
lib/jnativehook.jarin the output JAR - Include an extracted version of
lib/swt-<platform>.jarin the output JAR - Alternatively, open the project in IntelliJ. It will have artifacts already set up.
- Set the main class as
- You can execute this jar file using
java -jar path/to/jar, or, if you are on Windows or macOS, use the corresponding shell script (inscripts) to build a native image for your OS. Alternatively, use thejpackagecommand to build an image through the command line yourself.