Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
directive-unknown committed Jun 9, 2023
1 parent 01b6368 commit 8667726
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ nohup /PATH/TO/PROGRAM > output.log &
kill $$
```

## Limitations
Keep in mind that there are some apps which "One Click Quits" cannot terminate. Such as apps have background processes, or apps that continue running in the background once its window is closed.

This is a limitation due to how the logic to close applications was programmed. It does not listen to close events, rather it checks periodically if the application's window ID is still valid. To keep the program from closing apps that do not have windows, it checks if the app in question has a "modeOnlyBackground" flag. If it does, it will not close the app.

## Compile the application (For development only)
Make sure you have g++ 10.3.0 or Apple Clang 14.x.x installed.
Run the command below to compile the application:
Expand All @@ -35,5 +40,5 @@ make
```
Then run the command below to run the application:
```
./Program
./OneClickQuits
```

0 comments on commit 8667726

Please sign in to comment.