add jpackage profile to build a macos app

This commit is contained in:
bea
2026-09-29 12:04:06 +02:00
parent 42dc8bbda8
commit 005f22c581
2 changed files with 77 additions and 0 deletions
+4
View File
@@ -29,6 +29,10 @@
2. `cd` into the directory and run `mvn clean package`.
3. you will find a runnable jar with dependencies in the `target/` folder.
4. run the built jar file with `java -jar target/autosqueal-*-jar-with-dependencies.jar`.
**macos .app bundle**
- on macos, run `mvn clean package -Pmac-app`: you will find `autosqueal.app` in `target/jpackage/`.
- the first time you run it, grant it the accessibility and screen recording permissions in system settings, like any other java app.
## support
| category | info |