Sun, 05 Dec 2021 00:42:01 +0200
Need to time menu updates using Apple's frameworks to avoid segfaults.
However rumps.Timer doesn't work with menu updates while the menu is open, so
implement EventTrackingTimer class that uses NSEventTrackingRunLoopMode in
mainRunLoop.
127 | 1 | This software is distributed under an ANTI-ABUSE LICENSE (aka. *bollocks |
2 | to copyright and distributions* license), and without any warranty whatsoever. | |
3 | If you redistribute this software as part of a larger collection, distribution, | |
4 | or suite of software, you must do one of the following: | |
5 | ||
6 | (a) Always redistribute the **unmodified** and **latest** version provided | |
7 | by the lead author. If the lead author releases a new version (on a specific | |
8 | branch, such as 'stable' or 'development'), you must promptly make that new | |
9 | version the default version offered to your users (on that specific branch). | |
10 | ||
11 | (b) Rename the software, and make it obvious that your modified or obsolete | |
12 | software is in no way connected to the lead author of the original software. | |
13 | The users of your version should under no circumstances be under the | |
14 | illusion that they can contact the lead author or any of the authors of the | |
15 | original software if they have any complaints or queries. | |
16 | ||
17 | (c) Do not in any way directly expose this software to your users. | |
18 | ||
19 | Otherwise, do whatever you want with this software. In particular, you may | |
20 | freely use code snippets in other projects. | |
21 |